NIX OS: the BEST package manager on the MOST SOLID Linux distribution

NixOS is a Linux distribution that is completely and entirely reproducible. Everything you use is defined in a configuration file that is used to build your system. All the services, packages, options, partition layout, hardware, everything, is in this config file.

If you're a developer, your eyes might be sparkling right now: that's right, one config file to exactly replicate your entire development environment.

You also can never get into dependency hell. Packages all declare exactly which versions of each library they need, and these versions are all installed side by side and kept, not erased by newer versions.

NixOS sounds super cool. Has anyone tried it out on a RaspberryPi for a home server? I might try replacing Ubuntu as my home server.

nullthegrey,

@asteroidrainfall I used Nix exclusively for over a year in 2021-2022, I quite liked it. I loved the idea of my OS basically being a config file I could just use on another machine and end up with more or less the same environment. Plus all the stuff you can do in that config file, like mapping NFS volumes, it's unreal.

bumbly,

The documentation is pretty terrible.

vtez44,

It requires too much fuckery to really do it on RPi. But on x86, it's the most reliable distro I tried. You can even switch stable/unstable branches without running into issues.

asteroidrainfall,
asteroidrainfall avatar

What about the Pi makes it a hassle?

Ferris,
Ferris avatar

You got me curious too. Maybe it lacks support, although I believe on pi it's most done in kernel.
I still have to try this distro.

lordcirth,

IIRC, once you built and installed the Pi image, in order to update you needed to reinstall it all locally, as NixOS doesn't consider ARM built on x86 to be identical to ARM built on ARM. However, I believe they now have an ARM build server that generates both precompiled ARM-from-ARM images and packages.

asteroidrainfall,
asteroidrainfall avatar

Interesting, I haven’t tried it yet, but I did see they have an ARM build on their website. I’ll need to do some more research before I reflash my Pi

  • All
  • Subscribed
  • Moderated
  • Favorites
  • linux
  • ngwrru68w68
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • InstantRegret
  • GTA5RPClips
  • Youngstown
  • everett
  • slotface
  • rosin
  • osvaldo12
  • mdbf
  • kavyap
  • cubers
  • megavids
  • modclub
  • normalnudes
  • tester
  • khanakhh
  • Durango
  • ethstaker
  • tacticalgear
  • Leos
  • provamag3
  • anitta
  • cisconetworking
  • JUstTest
  • lostlight
  • All magazines