infra
Some checks failed
Test / tests (push) Has been cancelled
/ OpenTofu (push) Successful in 9s

This commit is contained in:
plasmagoat 2025-07-21 22:41:08 +02:00
parent 5a409b3014
commit 0347f4d325
18 changed files with 441 additions and 0 deletions

View file

@ -0,0 +1,18 @@
# NixOS Cloud Init image
## Create image zma.zst
```
nix run github:nix-community/nixos-generators -- -f proxmox -c configuration.nix
```
## Update to proxmox
```
scp /nix/store/jvwxp7agny9979fglf76s0ca9m2h6950-proxmox-nixos-cloud-init/vzdump-qemu-nixos-cloud-init.vma.zst root@192.168.1.206:/var/lib/vz/dump
```
## Init template
```
qmrestore /var/lib/vz/dump/vzdump-qemu-nixos-cloud-init.vma.zst 9000 --unique true
qm template 9000
```