hosts: lightsail-tokyo -> tyo0

This commit is contained in:
Guanran Wang 2024-08-12 14:30:33 +08:00
parent 312645fe2f
commit b6647447bf
Signed by: nyancat
GPG key ID: 91F97D9ED12639CF
18 changed files with 5 additions and 8 deletions

View file

@ -104,9 +104,7 @@
### nix develop
devShells.default = pkgs.mkShell {
packages = with pkgs; [
alejandra
colmena
git
sops
];
};
@ -135,7 +133,6 @@
### NixOS
nixosConfigurations = {
"blacksteel" = mkNixOS "x86_64-linux" [./hosts/blacksteel];
"dust" = mkNixOS "x86_64-linux" [./hosts/dust];
};
@ -157,8 +154,8 @@
./nixos/profiles/core
];
"lightsail-tokyo" = {
imports = [./hosts/lightsail-tokyo];
"tyo0" = {
imports = [./hosts/tyo0];
deployment.targetHost = "tyo0.ny4.dev";
};

View file

@ -74,7 +74,7 @@
enable = true;
configFile = pkgs.substituteAll {
src = ./Caddyfile;
robots = toString ../lightsail-tokyo/robots.txt;
robots = toString ../tyo0/robots.txt;
inherit (pkgs) mastodon;
};
};

View file

@ -2,15 +2,15 @@
projectRootFile = "flake.nix";
### nix
programs.alejandra.enable = true;
programs.deadnix.enable = true;
programs.statix.enable = true;
programs.alejandra.enable = true;
### misc
programs.prettier.enable = true;
settings.formatter.prettier.excludes = [
"hosts/blacksteel/secrets.yaml"
"hosts/lightsail-tokyo/secrets.yaml"
"hosts/tyo0/secrets.yaml"
"nixos/profiles/opt-in/mihomo/secrets.yaml"
"nixos/profiles/opt-in/wireless/secrets.yaml"
"secrets.yaml"