diff options
Diffstat (limited to 'features/user/services/flatpak.nix')
| -rw-r--r-- | features/user/services/flatpak.nix | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/features/user/services/flatpak.nix b/features/user/services/flatpak.nix deleted file mode 100644 index 37225aa..0000000 --- a/features/user/services/flatpak.nix +++ /dev/null @@ -1,27 +0,0 @@ -{ - config, - pkgs, - lib, - inputs, - ... -}: let - cfg = config.features.services.flatpak; -in { - imports = [inputs.nix-flatpak.homeManagerModules.nix-flatpak]; - options.features.services.flatpak = { - enable = lib.mkEnableOption "flatpak"; - packages = lib.mkOption { - type = lib.types.listOf lib.types.str; - default = []; - description = "A list of flatpaks to install."; - }; - }; - config = lib.mkIf cfg.enable { - home.packages = [pkgs.flatpak]; - services.flatpak = { - enable = true; - packages = cfg.packages; - overrides.global.Context.sockets = ["wayland" "!x11" "!fallback-x11"]; - }; - }; -} |
