flake.nix: set default hostname for most nixos hosts

This commit is contained in:
h7x4
2026-01-22 15:49:09 +09:00
parent e2d553af19
commit 12477aeb34
13 changed files with 3 additions and 22 deletions

View File

@@ -105,6 +105,9 @@
} // specialArgs;
modules = [
{
networking.hostName = lib.mkDefault name;
}
configurationPath
] ++ (lib.optionals enableDefaults [
sops-nix.nixosModules.sops