Files
TerraHome/nixos/template-base
MichaelFisher1997 3335020db5
All checks were successful
Terraform Plan / Terraform Plan (push) Successful in 17s
fix: make tailscale enrollment clone-safe and hostname-aware
Reset cloned tailscale state before first join, remove one-shot marker dependency, and allow workflow host entries in host=hostname format so nodes join with VM-aligned tailscale names.
2026-02-28 02:01:48 +00:00
..

NixOS Proxmox Template Base

This folder contains a minimal NixOS base config you can copy into a new template VM build.

Files

  • flake.nix: pins nixos-24.11 and exposes one host config.
  • configuration.nix: base settings for Proxmox guest use.

Before first apply

  1. Replace REPLACE_WITH_YOUR_SSH_PUBLIC_KEY in configuration.nix.
  2. Add hardware-configuration.nix from the VM install:
    • nixos-generate-config --root /
    • copy /etc/nixos/hardware-configuration.nix next to configuration.nix

Build/apply example inside the VM

sudo nixos-rebuild switch --flake .#template

Notes

  • This is intentionally minimal and avoids cloud-init assumptions.
  • If you want host-specific settings, create additional modules and import them.