machines: change hostname

This commit is contained in:
Guanran Wang 2023-11-15 19:57:01 +08:00
parent 6c0036ee4e
commit d3ef9003d7
Signed by: nyancat
SSH key fingerprint: SHA256:8oWGKciPALWut/6WA27oFKofX+6Wtc0gQnsefXLQx/8

View file

@ -183,7 +183,7 @@
### NixOS ### NixOS
nixosConfigurations = { nixosConfigurations = {
"81FW-NixOS" = nixpkgs.lib.nixosSystem { "Aristotle" = nixpkgs.lib.nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";
specialArgs = {inherit inputs;}; specialArgs = {inherit inputs;};
modules = [ modules = [
@ -206,7 +206,7 @@
./machines/nixos/81fw-lenovo-legion-y7000/machine-1 ./machines/nixos/81fw-lenovo-legion-y7000/machine-1
{ {
networking.hostName = "81FW-NixOS"; # Hostname networking.hostName = "Aristotle"; # Hostname
time.timeZone = "Asia/Shanghai"; # Timezone time.timeZone = "Asia/Shanghai"; # Timezone
### Options ### Options
@ -219,7 +219,7 @@
### nix-darwin ### nix-darwin
darwinConfigurations = { darwinConfigurations = {
"iMac-macOS" = nix-darwin.lib.darwinSystem { "Plato" = nix-darwin.lib.darwinSystem {
system = "x86_64-darwin"; system = "x86_64-darwin";
specialArgs = {inherit inputs;}; specialArgs = {inherit inputs;};
modules = [ modules = [
@ -229,7 +229,7 @@
./machines/darwin/imac-2017 ./machines/darwin/imac-2017
{ {
networking.hostName = "iMac-macOS"; networking.hostName = "Plato";
time.timeZone = "Asia/Shanghai"; time.timeZone = "Asia/Shanghai";
} }
]; ];