Hi everyone!

I saw that NixOS is getting popularity recently. I really have no idea why and how this OS works. Can you guys help me understanding all of this ?

Thanks !

  • Cegorach@feddit.de
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

    nah

    didn’t have enough time during the last half a decade to learn yet another thing

    might be better fit than my current debian setup - but how would I ever know, since my current thing is good enough?

  • featherfurl@lemmy.ml
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    1 year ago

    Here’s the straightforward version of why I use it:

    1. The entire state of your operating system is defined in a config file, and changes are made by changing the config file. This makes it super easy to reproduce your exact system many times and to know where all the many different configuration elements that describe your system are located.

    2. Updates are applied atomically, so you don’t have to worry about interrupting the update process and if it fails, the previous state of your system is still bootable. By default every time you change something, you get another option in the boot menu to roll back to.

    3. Making container-like sub systems is super easy when you’re familiar with nix, so you can have as many different enclaves as you like for different software versions, development environments, desktop setups, whatever without taking a performance hit. Old versions of stuff are very accessible without breaking your new stuff.

    4. The package manager has a lot of software and accessing nonfree stuff is straightforward. Guix looks rad, but nix ended up being the more practical compromise for my usecase. I didn’t want to have to package a heap of software the moment I made the switch.

    • SolemnAttic@feddit.de
      link
      fedilink
      arrow-up
      0
      ·
      1 year ago

      This very much. I used to have lots of unchecked config and state files everywhere on Arch. Now everything is checked in and wiped on boot so if something breaks after a reboot i know what broke.

      Like how the opengl rendering did due to nixpkgs version differences

  • Lalelul@feddit.de
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

    I switched around one and a half years ago. I must say, there are some hurdles to using NixOS. Mainly I dislike that it always takes around 20 times the effort to start and project. You make up for the initial time investment, because you end up with a far more stable setup, but still it does take some willpower to get things started.

  • Herbstzeitlose@feddit.de
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

    Because it’s the latest Cool Nerd Thing™ like Arch before it, and Gentoo before that. Most of the people raving about it probably don’t have much use for its features.

  • datendefekt@lemmy.ml
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

    Glancing over the website, I thought it’s an immutable OS, like Fedora Silverblue. I could imagine that it might be cool to use with Ansible and stuff. But for an average user? I can’t really see the advantages in respect to the work you have to put in.

    • quantenzitrone@feddit.de
      link
      fedilink
      arrow-up
      0
      ·
      1 year ago

      NixOS is not immutable in the way Fodora Silverblue is, and way more declarative and reproducible than Ansible. But yeah it is not something you “need”. Other distros work too, but NixOS is way more fun.