hosts: blacksteel -> pek0

This commit is contained in:
Guanran Wang 2024-08-31 08:00:40 +08:00
parent 7c0764a270
commit 5bf6e5f576
Signed by: nyancat
GPG key ID: 91F97D9ED12639CF
15 changed files with 7 additions and 6 deletions

View file

@ -151,8 +151,8 @@
deployment.targetHost = "tyo0.ny4.dev"; deployment.targetHost = "tyo0.ny4.dev";
}; };
"blacksteel" = { "pek0" = {
imports = [ ./hosts/blacksteel ]; imports = [ ./hosts/pek0 ];
deployment.targetHost = "blacksteel"; # thru tailscale deployment.targetHost = "blacksteel"; # thru tailscale
}; };
}; };

View file

@ -11,8 +11,10 @@
}; };
in in
{ {
"blacksteel" = serverConfig;
"tyo0.ny4.dev" = serverConfig; "tyo0.ny4.dev" = serverConfig;
"pek0.ny4.dev" = serverConfig // {
hostname = "blacksteel";
};
}; };
}; };
} }

View file

@ -24,7 +24,7 @@
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;
networking.hostName = "blacksteel"; networking.hostName = "pek0";
system.stateVersion = "24.05"; system.stateVersion = "24.05";
######## Secrets ######## Secrets

View file

@ -1,5 +1,4 @@
{ {
lib,
inputs, inputs,
pkgs, pkgs,
... ...

View file

@ -9,7 +9,7 @@
### misc ### misc
programs.prettier.enable = true; programs.prettier.enable = true;
settings.formatter.prettier.excludes = [ settings.formatter.prettier.excludes = [
"hosts/blacksteel/secrets.yaml" "hosts/pek0/secrets.yaml"
"hosts/tyo0/secrets.yaml" "hosts/tyo0/secrets.yaml"
"nixos/profiles/sing-box/secrets.yaml" "nixos/profiles/sing-box/secrets.yaml"
"nixos/profiles/wireless/secrets.yaml" "nixos/profiles/wireless/secrets.yaml"