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";
};
"blacksteel" = {
imports = [ ./hosts/blacksteel ];
"pek0" = {
imports = [ ./hosts/pek0 ];
deployment.targetHost = "blacksteel"; # thru tailscale
};
};

View file

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

View file

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

View file

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

View file

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