this post was submitted on 06 Jul 2024
569 points (95.7% liked)

linuxmemes

20703 readers
2679 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS
 

NixOS is my new daily driver after a hard start and many copy+pasta from Github Repos ^^

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 6 points 2 months ago

If you don't already know the benefits it's unlikely it solves a problem you have.

Even among its users many are using it because it's cool rather than because they actually need it.

It's a declarative system, meaning you can describe how it should be setup (using a magic strings you have to look up online) and then it "sets up itself" according to the description.

It's normally something you'd use for mass and/or repetitive deployments.

It's usefulness for a single system is debatable, considering you can achieve very close to 100% of "reproducibility" anyway by copying /home and /etc and fetching a copy of the package list.

Where the prescriptive approach is supposed to help is when you attempt to reproduce the system a long time later, after things like config files and packages have changed. But it doesn't help with /home, it hasn't been tested over long intervals, and in fact nobody guarantees long term compatibility for Nix state.