SaumonNet/proxmox-nixos: The Proxmox Hypervisor, on NixOS (github.com)
from lemmyreader@lemmy.ml to linux@lemmy.ml on 25 Jun 16:18
https://lemmy.ml/post/17288719

cross-posted from: lemmy.ml/post/17288716

This project is a port of the Proxmox Hypervisor on NixOS.

⚠️ Proxmox-NixOS is still experimental and we do not advise running it on production machines. Do it at your own risk and only if you are ready to fix issues by yourself.

📬 Help / Discussions

There is a matrix room for discussions about Proxmox-NixOS.

Thanks This project has received support from NLNet.

#linux

threaded - newest

k_rol@lemmy.ca on 25 Jun 16:57 next collapse

Is there a point in getting this on NixOS other than just because we can?

theshatterstone54@feddit.uk on 25 Jun 17:01 next collapse

Yeah, NixOS is great as a server/enterprise distro, so if it gets proxmox, that’s a big win imo.

rutrum@lm.paradisus.day on 25 Jun 17:46 collapse

From my short time with proxmox, I had to dive into the command line to do configuration at the host level that couldnt be done with the UI. I think nixos will help replacd those ad hoc configurations with nix options. In the many articles I read about gpu passthru, and also doing harddrive passthru, I had to work in the host debian environment.

I dumped proxmox because I couldnt get gpu passthrough to work, and havent looked back. Nixos modules and docker have served me better than VMs for my usecase.

geography082@lemm.ee on 25 Jun 20:14 next collapse

I’m new on Linux, and I don’t get nixos. I know about backups and how to keep all my stuff safe and ready to easy restore and have things running as fast as possible. And I don’t use to break the OS itself regularly .

HeartyOfGlass@lemm.ee on 25 Jun 23:24 collapse

I don’t get NixOS

It’s not for everyone. The idea is to have your entire system reproducible with a few configuration files, which you’d then ideally store in a VCS like git.

I haven’t messed with it, but there is something appealing about the ability to reboot to an older snapshot of the system if an update breaks something, or being able to use a config file to restore your system to the exact OS version and exact versions of whatever apps you use.

geography082@lemm.ee on 26 Jun 08:01 collapse

I see . Seems suitable for infras with thousand of servers and is not the same backing up configuration files than whole snapshots of the OS. Don’t know how works with installed apps like nginx and their configurations.

Laser@feddit.org on 26 Jun 11:44 collapse

I guess that’s where the advantages come into play the most. I only use it for a handful of machines (2 notebooks, one workstation, an SBC and 2 VPSs) and it’s still a great solution, though there is quite the overhead for the first setup.

Anyhow, that doesn’t mean that it’s more work in total than other distributions. The module system catches a lot of configuration errors for you which means you basically never and up with a “broken” configuration, and even if you did, you could select an older generation (more correct way to say rolling back on NixOS). Sure, the configuration might not do want you intended, but it will most likely be functional.

This even goes so far that some modules detect common configuration pitfalls for applications, like headers not being inherited because they got redefined.

smiletolerantly@awful.systems on 26 Jun 05:30 collapse

Oh wow, this is literally what I’ve been waiting for.

Edit: OK, it’s not quite there yet.