Build base image: ```sh nixos-rebuild build-image --image-variant proxmox --flake .#base ``` Copy base image to a Proxmox node: ```sh scp result/vzdump-qemu-nixos-26.05.20260401.6201e20.vma.zst root@192.168.0.85:/var/lib/vz/dump/ ``` Restore on Proxmox. Convert to Proxmox Template. Run TF as usual using clone against the Template. ```sh # first time only ./generate-keys.sh torrents--2 # edit the .sops.yaml to include the host's age key sops secrets/rproxy-2.yaml ./deploy.sh torrents-2 root ``` Sources: https://github.com/nix-community/nixos-generators https://gist.github.com/joshleecreates/e6892ca21b0e6b7c24d96ca2a24bf23e