diff --git a/hosts/default.nix b/hosts/default.nix index 12965bc..d493d9a 100644 --- a/hosts/default.nix +++ b/hosts/default.nix @@ -12,7 +12,9 @@ in { # neodymium laptop neodymium = nixpkgs.lib.nixosSystem { system = "x86_64-linux"; - specialArgs = inputs; + specialArgs = { + inherit inputs; + }; modules = [ ./neodymium inputs.home-manager.nixosModules.home-manager diff --git a/hosts/hydrogen/system/nix/default.nix b/hosts/hydrogen/system/nix/default.nix index d5ac7be..35914c0 100644 --- a/hosts/hydrogen/system/nix/default.nix +++ b/hosts/hydrogen/system/nix/default.nix @@ -1,7 +1,7 @@ { lib, pkgs, - nixpkgs, + inputs, ... }: { # optimizations @@ -18,7 +18,7 @@ nix.settings.experimental-features = ["nix-command" "flakes"]; # pin nixpkgs registry - nix.registry.nixpkgs.flake = nixpkgs; + nix.registry.nixpkgs.flake = inputs.nixpkgs; # print diff between two generations system.activationScripts.nvd-report-changes = '' diff --git a/hosts/neodymium/system/nix/default.nix b/hosts/neodymium/system/nix/default.nix index 066d116..266b91e 100644 --- a/hosts/neodymium/system/nix/default.nix +++ b/hosts/neodymium/system/nix/default.nix @@ -1,7 +1,7 @@ { lib, pkgs, - nixpkgs, + inputs, ... }: { # restrict nix command to sudoers @@ -25,7 +25,7 @@ }; # pin nixpkgs registry - nix.registry.nixpkgs.flake = nixpkgs; + nix.registry.nixpkgs.flake = inputs.nixpkgs; # list of allowed unfree packages nixpkgs.config.allowUnfreePredicate = pkg: