Move fn functions to system specialArgs.
This commit is contained in:
parent
b73ea3b5de
commit
b2da82bff1
9 changed files with 12 additions and 24 deletions
|
@ -26,7 +26,7 @@
|
|||
machineFiles = lib.filter (name: lib.strings.hasSuffix ".nix" name) (fn.lst { p = machinePath; b = true; });
|
||||
in nixpkgs.lib.nixosSystem {
|
||||
inherit system;
|
||||
specialArgs = attrs;
|
||||
specialArgs = attrs // { fn = fn; };
|
||||
modules = [
|
||||
(toString ./options/machine.nix)
|
||||
sops-nix.nixosModules.sops
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue