diff --git a/modules/desktop/default.nix b/modules/desktop/default.nix index c6cb75fd..e604c43c 100644 --- a/modules/desktop/default.nix +++ b/modules/desktop/default.nix @@ -23,6 +23,7 @@ ./media ./dunst ./picom + ./flatpak # boot ./plymouth # vpn diff --git a/modules/desktop/flatpak/default.nix b/modules/desktop/flatpak/default.nix new file mode 100644 index 00000000..a8e94679 --- /dev/null +++ b/modules/desktop/flatpak/default.nix @@ -0,0 +1,14 @@ +{ inputs, outputs, options, config, lib, pkgs, ...}: +let + cfg = config.modules.desktop.flatpak; +in +{ + options.modules.desktop.flatpak = { + enable = lib.mkEnableOption false; + }; + + config = lib.mkIf cfg.enable { + # todo declarative thingies + services.flatpak.enable = true; + }; +}