nanuqsaurus/modules/system/flatpak.nix

30 lines
598 B
Nix
Raw Permalink Normal View History

{ lib, ... }:
{
services.flatpak = {
enable = true;
remotes = [
{
name = "flathub";
location = "https://dl.flathub.org/repo/flathub.flatpakrepo";
}
{
name = "flathub-beta";
location = "https://dl.flathub.org/beta-repo/flathub-beta.flatpakrepo";
}
];
update.auto = {
enable = true;
onCalendar = "daily";
};
packages = [
"com.github.tchx84.Flatseal"
];
};
systemd.services.flatpak-managed-install = {
wants = [ "network-online.target" ];
after = [ "network-online.target" ];
};
}