extern: move specialArgs here

This commit is contained in:
Timothy DeHerrera 2021-02-04 23:42:46 -07:00
parent 0ec0c25238
commit c6d25002ed
No known key found for this signature in database
GPG key ID: 8985725DB5B0C122
2 changed files with 7 additions and 6 deletions

6
extern/default.nix vendored
View file

@ -9,4 +9,10 @@
nur.overlay nur.overlay
devshell.overlay devshell.overlay
]; ];
# passed to all nixos modules
specialArgs = {
unstableModulesPath = "${master}/nixos/modules";
hardware = nixos-hardware.nixosModules;
};
} }

View file

@ -19,12 +19,7 @@ let
nixosSystemExtended { nixosSystemExtended {
inherit system; inherit system;
specialArgs = specialArgs = extern.specialArgs // { inherit suites; };
{
inherit suites;
unstableModulesPath = "${master}/nixos/modules";
hardware = nixos-hardware.nixosModules;
};
modules = modules =
let let