feat: split off outputs

This commit is contained in:
Ranomier 2025-04-28 17:05:06 +02:00
parent 7f094b80c5
commit dc411c006e
5 changed files with 52 additions and 65 deletions

9
hostHelper.nix Normal file
View file

@ -0,0 +1,9 @@
inArgs: hostname: {
${hostname} = inArgs.nixpkgs.lib.nixosSystem {
specialArgs = {inherit inArgs;};
modules = [
{networking.hostName = hostname;}
(./hosts/${hostname})
];
};
}