I’ve been running Proxmox Backup Server the official way for years and got bored, so I packaged it natively for NixOS: AWildLeon/nixos-pbs. No Debian container, no dpkg shims. Just a regular Nix derivation.
What it is
A proper rustPlatform.buildRustPackage derivation built from upstream Proxmox git sources, wrapped in a buildFHSEnv to satisfy PBS’s hardcoded Debian-style paths. Same pattern nixpkgs uses for Steam. The web UI assets are pulled from the official .deb archives and assembled at build time, with sections that don’t make sense on NixOS (APT updates, xterm.js shell, disk/ZFS/network management, reboot buttons) trimmed out.
On top of the package there’s a NixOS module (services.proxmox-backup-server) with declarative datastores, prune/verify/sync jobs, agenix-compatible TLS cert support, and PAM integration. Prebuilt binaries are on Cachix.
Current status
The package builds and I have two testers running it. The end goal is nixpkgs, but before filing a PR I want more eyes on it. I may have overlooked things, and some areas are explicitly untested:
-
General real-world backup/restore/sync/GC workloads
-
PAM / authentication beyond basic
root@pam -
Tape drives:
pmt,pmtx,sg-tape-cmdare included but completely untested
If you’re willing to kick the tires on any of the above, please report back. There are tracking issues on the repo for each area.
Repo: GitHub - AWildLeon/nixos-pbs: Proxmox Backup Server on NixOS (Experimental) · GitHub