diff --git a/hosts/goopnet-interface/default.nix b/hosts/goopnet-interface/default.nix index 9c4ee15..ff32451 100755 --- a/hosts/goopnet-interface/default.nix +++ b/hosts/goopnet-interface/default.nix @@ -73,6 +73,7 @@ system.wezterm.enable = true; system.fish.enable = true; system.syncthing.enable = true; + system.flatpak.enable = true; # editors editors.micro.enable = true; editors.vscode.enable = true; diff --git a/modules/software/system/flatpak.nix b/modules/software/system/flatpak.nix new file mode 100644 index 0000000..f6a915b --- /dev/null +++ b/modules/software/system/flatpak.nix @@ -0,0 +1,16 @@ +{ lib, config, pkgs, ... }: + +with lib; +let + cfg = config.modules.software.system.flatpak; +in { + options.modules.software.system.flatpak = { + enable = mkEnableOption "Enable flatpak, an application sandboxing and distribution framework"; + }; + + config = mkIf cfg.enable { + services.flatpak.enable = true; + hm.home.packages = [ pkgs.flatpak ]; + fonts.fontDir.enable = true; + }; +} \ No newline at end of file