straight up nixxing it
Find a file
2025-06-18 21:41:53 +01:00
config feat: moar nix 2025-06-18 21:41:53 +01:00
secrets feat: moar nix 2025-06-18 21:41:53 +01:00
.envrc feat: initial commit 2025-04-05 13:31:32 +01:00
.gitignore feat: moar nix 2025-06-18 21:41:53 +01:00
flake.lock feat: moar nix 2025-06-18 21:41:53 +01:00
flake.nix feat: moar nix 2025-06-18 21:41:53 +01:00
justfile feat: moar nix 2025-06-18 21:41:53 +01:00
README.md feat: moar nix 2025-06-18 21:41:53 +01:00

nixlab

The Nix part of my homelab, just messing around

boostrap

TODO: Figure out if addNetworking is required still

  • Set addNetworking to false in config/tf.nix
  • just deploy
  • Wait for the infra to build
  • Start the containers and log in to them
  • Redeploy infra with addNetworking
  • Put the host-key.pub into ~/.ssh/authorized_keys on each host
  • (This wil fail) just deploy
  • Fetch the SSH keys of the hosts and put them in secrets/secrets.nix
  • Remember to add it to systems!
  • Rekey the secrets with just rekey
  • just deploy
  • Wait for the deploy
  • Set the IPs properly in flake.nix (using the TF config as a ref)
  • Reboot the nodes

ref