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:
Guanran Wang 2024-02-11 22:10:03 +08:00
parent 59cb9f8a64
commit 8ee5e9dd3e
Signed by: nyancat
SSH key fingerprint: SHA256:8oWGKciPALWut/6WA27oFKofX+6Wtc0gQnsefXLQx/8
6 changed files with 4 additions and 4 deletions

View file

@ -141,12 +141,12 @@
### NixOS
nixosConfigurations = {
"Aristotle" = mkNixOS "x86_64-linux" [./hosts/Aristotle];
"aristotle" = mkNixOS "x86_64-linux" [./hosts/aristotle];
};
### Darwin
darwinConfigurations = {
"Plato" = mkDarwin "x86_64-darwin" [./hosts/Plato];
"plato" = mkDarwin "x86_64-darwin" [./hosts/plato];
};
};
}

View file

@ -15,7 +15,7 @@
../../nixos/profiles/common/opt-in/disko.nix
];
networking.hostName = "Aristotle";
networking.hostName = "aristotle";
time.timeZone = "Asia/Shanghai";
_module.args.disks = ["/dev/nvme0n1"]; # Disko
}

View file

@ -7,7 +7,7 @@
./hardware-configuration.nix
];
networking.hostName = "Plato";
networking.hostName = "plato";
time.timeZone = "Asia/Shanghai";
system.stateVersion = 4;
}