nix-conf/modules/linux/home-manager/flatpak.nix
Crony Akatsuki d8dcf4ef80
All checks were successful
/ cache (push) Successful in 1m22s
feat: use flatpak version of bambustudio.
2026-05-06 18:57:29 +02:00

34 lines
743 B
Nix

{
config,
lib,
...
}: {
options = {
crony.flatpak.enable = lib.mkEnableOption "Enable flatpak and install my packages";
};
config = lib.mkIf config.crony.flatpak.enable {
services.flatpak = {
enable = true;
remotes = lib.mkOptionDefault [
{
name = "flathub-beta";
location = "https://flathub.org/beta-repo/flathub-beta.flatpakrepo";
}
];
packages = [
"com.github.tchx84.Flatseal"
"com.stremio.Stremio"
"org.raspberrypi.rpi-imager"
"net.shadps4.shadPS4"
"com.bambulab.BambuStudio"
];
update.auto = {
enable = true;
onCalendar = "weekly";
};
uninstallUnmanaged = true;
};
};
}