nix-cache: switch DNS to nix-cache02
Some checks failed
Run nix flake check / flake-check (push) Has been cancelled

- Move nix-cache CNAME from nix-cache01 to nix-cache02
- Remove actions1 CNAME (service removed)
- Update proxy.nix to serve canonical domain on nix-cache02
- Promote nix-cache02 to prod tier with build-host role

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-02-10 23:22:23 +01:00
parent afff3f28ca
commit 83fce5f927
3 changed files with 7 additions and 7 deletions

View File

@@ -1,10 +1,10 @@
{ pkgs, config, ... }:
let
# nix-cache01 serves the canonical nix-cache.home.2rjus.net
# nix-cache02 serves nix-cache02.home.2rjus.net (for testing before DNS cutover)
# nix-cache02 serves the canonical nix-cache.home.2rjus.net
# nix-cache01 serves nix-cache01.home.2rjus.net (deprecated, pending decommission)
hostname = config.networking.hostName;
domain =
if hostname == "nix-cache01" then
if hostname == "nix-cache02" then
"nix-cache.home.2rjus.net"
else
"${hostname}.home.2rjus.net";