fix: simplify
This commit is contained in:
parent
c0691b8d8d
commit
566699f0b7
1 changed files with 4 additions and 4 deletions
|
@ -36,10 +36,10 @@
|
||||||
# need to extract teh name of the machiene
|
# need to extract teh name of the machiene
|
||||||
${config.name} = (
|
${config.name} = (
|
||||||
# nixpkgs.lib.nixosSystem is a fucntion that is used to turn a attribute set into the config for a machiene
|
# nixpkgs.lib.nixosSystem is a fucntion that is used to turn a attribute set into the config for a machiene
|
||||||
nixpkgs.lib.nixosSystem (
|
nixpkgs.lib.nixosSystem {
|
||||||
# dont want to pass the field named 'name' into teh set
|
system = config.system;
|
||||||
nixpkgs.lib.attrsets.filterAttrs (n: v: n != "name") config
|
modules = modules.system;
|
||||||
)
|
}
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue