hosts: rename hostnames to lowercase
- Following RFC 952 and RFC 1123. Hostnames are not case-sensitive; however, uppercase letters were typically avoided to enhance readability. - I accidentally rm -rf'ed ./git, had to re-commit everything
This commit is contained in:
parent
59cb9f8a64
commit
8ee5e9dd3e
6 changed files with 4 additions and 4 deletions
|
@ -141,12 +141,12 @@
|
||||||
|
|
||||||
### NixOS
|
### NixOS
|
||||||
nixosConfigurations = {
|
nixosConfigurations = {
|
||||||
"Aristotle" = mkNixOS "x86_64-linux" [./hosts/Aristotle];
|
"aristotle" = mkNixOS "x86_64-linux" [./hosts/aristotle];
|
||||||
};
|
};
|
||||||
|
|
||||||
### Darwin
|
### Darwin
|
||||||
darwinConfigurations = {
|
darwinConfigurations = {
|
||||||
"Plato" = mkDarwin "x86_64-darwin" [./hosts/Plato];
|
"plato" = mkDarwin "x86_64-darwin" [./hosts/plato];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
../../nixos/profiles/common/opt-in/disko.nix
|
../../nixos/profiles/common/opt-in/disko.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
networking.hostName = "Aristotle";
|
networking.hostName = "aristotle";
|
||||||
time.timeZone = "Asia/Shanghai";
|
time.timeZone = "Asia/Shanghai";
|
||||||
_module.args.disks = ["/dev/nvme0n1"]; # Disko
|
_module.args.disks = ["/dev/nvme0n1"]; # Disko
|
||||||
}
|
}
|
|
@ -7,7 +7,7 @@
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
networking.hostName = "Plato";
|
networking.hostName = "plato";
|
||||||
time.timeZone = "Asia/Shanghai";
|
time.timeZone = "Asia/Shanghai";
|
||||||
system.stateVersion = 4;
|
system.stateVersion = 4;
|
||||||
}
|
}
|
Loading…
Reference in a new issue