diff --git a/flake.nix b/flake.nix index 82e6270..8eb11a3 100644 --- a/flake.nix +++ b/flake.nix @@ -22,6 +22,7 @@ nixpkgs, home-manager, agenix, + nix-flatpak, ... }: let @@ -44,7 +45,10 @@ home-manager.useGlobalPkgs = true; home-manager.useUserPackages = true; home-manager.extraSpecialArgs = inputs; - home-manager.users.florian = import ./hosts/${s.name}/home.nix; + home-manager.users.florian.imports = [ + nix-flatpak.homeManagerModules.nix-flatpak + ./hosts/${s.name}/home.nix + ]; } ]; }; diff --git a/modules/home/apps/flatpak/default.nix b/modules/home/apps/flatpak/default.nix index aa779f1..052f6b0 100644 --- a/modules/home/apps/flatpak/default.nix +++ b/modules/home/apps/flatpak/default.nix @@ -1,12 +1,10 @@ -{ config, pkgs, lib, nix-flatpak, ... }: +{ config, lib, ... }: with lib; let cfg = config.modules.home.apps.flatpak; in { - imports = [ nix-flatpak.homeManagerModules.nix-flatpak ]; - options.modules.home.apps.flatpak = { enable = mkEnableOption '' Enable flatpak with my custom configurations