ns2: migrate to OpenTofu management
Some checks failed
Run nix flake check / flake-check (push) Failing after 1s

- Remove hosts/template/ (legacy template1) and give each legacy host
  its own hardware-configuration.nix copy
- Recreate ns2 using create-host with template2 base
- Add secondary DNS services (NSD + Unbound resolver)
- Configure Vault policy for shared DNS secrets
- Fix create-host IP uniqueness validator to check CIDR notation
  (prevents false positives from DNS resolver entries)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-02-07 19:28:35 +01:00
parent 4c1debf0a3
commit 536daee4c7
27 changed files with 311 additions and 187 deletions

View File

@@ -3,7 +3,7 @@
{
imports =
[
../template/hardware-configuration.nix
./hardware-configuration.nix
../../system
];