diff --git a/hosts/default.nix b/hosts/default.nix index 6aa3838..c3f7c25 100644 --- a/hosts/default.nix +++ b/hosts/default.nix @@ -32,7 +32,7 @@ { ${host} = inputs.nixpkgs.lib.nixosSystem { specialArgs = { - inherit cfg; + inherit cfg inputs; }; modules = with inputs; [ ./${host}/configuration.nix diff --git a/users/default.nix b/users/default.nix index 2c64351..18e6e26 100644 --- a/users/default.nix +++ b/users/default.nix @@ -30,9 +30,14 @@ pkgs, cfg, config, + inputs, ... }: { + imports = [ + inputs.home-manager.nixosModules.default + ]; + # Configure users' passwords as sops secret. sops.secrets = lib.mkMerge ( map (user: {