diff options
Diffstat (limited to 'util/host.nix')
| -rw-r--r-- | util/host.nix | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/util/host.nix b/util/host.nix index 90f1dec..869b674 100644 --- a/util/host.nix +++ b/util/host.nix @@ -3,12 +3,13 @@ name, modules, system ? "x86_64-linux", + specialArgs ? {}, version ? "22.11", pkgs, }: { ${name} = with pkgs.lib; nixosSystem { - inherit system; + inherit system specialArgs; modules = [ ../hosts/common @@ -27,8 +28,11 @@ home-manager.nixosModules.home-manager { - home-manager.useGlobalPkgs = true; - home-manager.useUserPackages = true; + home-manager = { + useGlobalPkgs = true; + useUserPackages = true; + extraSpecialArgs = specialArgs; + }; } ] ++ modules; |
