added auto hostName config

This commit is contained in:
Gerg-L 2023-07-28 20:16:25 -04:00
parent fa18237a57
commit b017594b1e
4 changed files with 14 additions and 10 deletions

View file

@ -53,7 +53,12 @@ in {
inherit system;
modules =
builtins.attrValues self.nixosModules
++ importAll "${self}/hosts/${name}";
++ importAll "${self}/hosts/${name}"
++ [
{
networking.hostName = name;
}
];
}
);
mkDisko = names: