All checks were successful
Terraform Plan / Terraform Plan (push) Successful in 17s
- Point clone_template to nixos-template and trim cloud-init to Nix-safe hostname/DNS only - Remove SSH/Tailscale cloud-init variables and workflow secret dependencies - Add reusable NixOS template-base config with bootloader, Tailscale, fish, and utility packages
779 B
779 B
NixOS Proxmox Template Base
This folder contains a minimal NixOS base config you can copy into a new template VM build.
Files
flake.nix: pinsnixos-24.11and exposes one host config.configuration.nix: base settings for Proxmox guest use.
Before first apply
- Replace
REPLACE_WITH_YOUR_SSH_PUBLIC_KEYinconfiguration.nix. - Add
hardware-configuration.nixfrom the VM install:nixos-generate-config --root /- copy
/etc/nixos/hardware-configuration.nixnext toconfiguration.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.