618ba681fb8b22531311929f693f7dfcdd4bf153
All checks were successful
Run nix flake check / flake-check (push) Successful in 2m29s
Fix OpenTofu error where static IP and DHCP branches had different object structures in the subnets array. Move conditional to network_config level so both branches return complete, consistent yamlencode() results. Error was: "The true and false result expressions must have consistent types" Solution: Make network_config itself conditional rather than the subnets array, ensuring both branches return the same type (string from yamlencode). Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
nixos-servers
Nixos configs for my homelab servers.
Configurations in use
- ha1
- ns1
- ns2
- template1
Description
Languages
Nix
61.7%
Python
22.1%
HCL
13.8%
Shell
1.8%
Jinja
0.6%