feat: split off outputs
This commit is contained in:
parent
7f094b80c5
commit
dc411c006e
5 changed files with 52 additions and 65 deletions
9
hostHelper.nix
Normal file
9
hostHelper.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
inArgs: hostname: {
|
||||
${hostname} = inArgs.nixpkgs.lib.nixosSystem {
|
||||
specialArgs = {inherit inArgs;};
|
||||
modules = [
|
||||
{networking.hostName = hostname;}
|
||||
(./hosts/${hostname})
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue