16 lines
378 B
Nix
16 lines
378 B
Nix
{ config, lib, ... }:
|
|
|
|
with lib;
|
|
|
|
{
|
|
config = mkIf (services.flatpak.packages != []) {
|
|
services.flatpak.enable = true;
|
|
services.flatpak.update.auto.enable = true;
|
|
services.flatpak.uninstallUnmanaged = true;
|
|
|
|
services.flatpak.remotes = mkOptionDefault [{
|
|
name = "flathub";
|
|
location = "https://dl.flathub.org/repo/flathub.flatpakrepo";
|
|
}];
|
|
};
|
|
} |