Files
nixos-servers/docs/plans/completed/host-cleanup.md
Torjus Håkestad 0ef63ad874
Some checks failed
Run nix flake check / flake-check (push) Failing after 4m47s
Run nix flake check / flake-check (pull_request) Successful in 3m20s
hosts: remove decommissioned media1, ns3, ns4, nixos-test1
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-05 01:36:57 +01:00

727 B

Host Cleanup

Overview

Remove decommissioned/unused host configurations that are no longer reachable on the network.

Hosts to review

The following hosts return "no route to host" from Prometheus scraping and are likely no longer needed:

  • media1 (10.69.12.82)
  • ns3 (10.69.13.7)
  • ns4 (10.69.13.8)
  • nixos-test1 (10.69.13.10)

Steps

  1. Confirm each host is truly decommissioned (not just temporarily powered off)
  2. Remove host directory from hosts/
  3. Remove nixosConfigurations entry from flake.nix
  4. Remove host's age key from .sops.yaml
  5. Remove per-host secrets from secrets/<hostname>/ if any
  6. Verify DNS zone and Prometheus targets no longer include the removed hosts after rebuild