nix-conf/modules/linux/home-manager/flatpak.nix
Crony Akatsuki 7bc7e8dee4
All checks were successful
/ cache (push) Successful in 2m4s
feat: use regular stremio not beta.
2026-03-29 16:22:24 +02:00

32 lines
678 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"
];
update.auto = {
enable = true;
onCalendar = "weekly";
};
uninstallUnmanaged = true;
};
};
}