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

View file

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

View file

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