this post was submitted on 25 Jun 2024
52 points (93.3% liked)

Linux

48008 readers
832 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

cross-posted from: https://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.

top 8 comments
sorted by: hot top controversial new old
[–] [email protected] 9 points 4 months ago (2 children)

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

[–] [email protected] 13 points 4 months ago

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

[–] [email protected] 9 points 4 months ago

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.

[–] [email protected] 3 points 4 months ago (1 children)

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 .

[–] [email protected] 14 points 4 months ago (1 children)

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.

[–] [email protected] 3 points 4 months ago (1 children)

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.

[–] [email protected] 1 points 4 months ago

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.

[–] [email protected] 2 points 4 months ago* (last edited 4 months ago)

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

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