diff options
Diffstat (limited to 'legacy.nix')
| -rw-r--r-- | legacy.nix | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -53,6 +53,8 @@ , extraModules ? [] # Where the host has its secrets, instead of <secrets>. , secretDirectory ? null +# The system that builds; null: the host's own. +, buildSystem ? builtins.currentSystem or null }: { nixosConfigurations = inputs.nixpkgs.lib.mapAttrs @@ -67,6 +69,8 @@ specialArgs = { inherit inputs; + buildSystem = if buildSystem == null then system else buildSystem; + lib = inputs.nixpkgs.lib // { # for stockholm. # without it krebs.hosts.*.nets.*.prefix breaks for ne |
