4 ms·
NixOS has transformed my use of Proxmox. I configure, build, and deploy everything from my nix workstation. I don't need to use the PVE gui at all. Proxmox is j
by EnigmaCurry 3mo ago
NixOS has transformed my use of Proxmox. I configure, build, and deploy everything from my nix workstation. I don't need to use the PVE gui at all. Proxmox is just a target, and I've abstracted things enough to where I can deploy the same machines to libvirt on a local machine too. Why would I need to let my agent into my PVE box? I haven't looked at incus, but if I wanted to run the full stack declaratively, nixos and LLMs are so powerful now that I would probably just say to run libvirt and ZFS on nixos natively.
- daishi55 3mo agoWhat do you mean exactly? You have a nix workstation and a physically separate PVE server, and configure the second from the first?
- EnigmaCurry 3mo agoYes, I don't really touch the PVE server at all after the initial install. I just build and deploy from my Fedora workstation running nix. [1] https://github.com/EnigmaCurry/nixos-vm-template https://github.com/EnigmaCurry/nixos-vm-template
- dereknance 3mo ago> I configure, build, and deploy everything from my nix workstation. I don't need to use the PVE gui at all. I would love to know more about how you do this, particularly the deploy part. I'm considering moving away from Ansible, but haven't had the time to dedicate to exploring a similar Nix experience.
- mikestorrent 3mo agoJust use Terraform against Proxmox and don't leave mysterious things nobody else knows how to work with.
- EnigmaCurry 3mo agoThis is what I've built [1], and I'm using it daily for things like agent sandboxing when I deploy it builds a new image completely replaces the OS disk - on upgrade it only keeps its data drive mounted to /var. [1] https://github.com/EnigmaCurry/nixos-vm-template https://github.com/EnigmaCurry/nixos-vm-template