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 !

  • 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.

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

      It is an immutable distro, altough it isn’t image-based like Fedora’s rpm-ostree.

      NixOS basically replaces Ansible because the Nix package manager achieves the same goals already (configuration, deployment, …).

      But I agree, the work necessary to put into this non-standard distro makes it hard to recommend for a casual user.

    • quantenzitrone@feddit.de
      link
      fedilink
      arrow-up
      1
      ·
      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.

  • Tilted@programming.dev
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

    I used NixOS for a couple of years. My experience is like this:

    1. It is a rolling release (mostly)
    2. You write a declarative configuration for your system, e.g., my config will say I want Neovim with certain plugins, and I can also include my Neovim configuration
    3. It is stable, and when it breaks it is easy to go back
    4. Packages are mostly bleeding edge
    • priapus@lemmy.one
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      Important to note that NixOS has both a rolling release and point release version.

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

      Note that there’s both the rolling unstable channel and a bi-annual stable release channel.

  • blackstrat@lemmy.fwgx.uk
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

    All I year about from the linux community is NixOS and btrfs, neither of which I have any interest in. It almost feels like someone with an agenda is promoting these two with how prevelant they are.

    • 80KiloMett@discuss.tchncs.de
      link
      fedilink
      arrow-up
      0
      ·
      1 year ago

      I like using btrfs with Arch because of the snapshots. If an update breaks something I can just boot into a snapshot from grub keep using my PC and solve the problem later. It’s very useful… yes… very… you should try it… come… try btrfs… it’s warm and cozy… INSTALL IT!

      • blackstrat@lemmy.fwgx.uk
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

        I have tried btrfs in the past and when it goes wrong you are utterly shafted. You can’t even mount it as a read only file system, it will just lock you out entirely. And the support isn’t great, I ended up finding something that had a disclaimer along the lines of “only run this if you really know what you’re doing”, but obviously I didn’t as the documentation didn’t tell me enough to know. So the only people who could possibly know are the developers of the file system themselves. Anyway, I was 2 days in to trying to recover my data by this point so I gave it a go, nothing to lose - it refused to do anything. Great.

        So in summary I’m not going to try it again.

        • chayleaf@lemmy.ml
          link
          fedilink
          arrow-up
          2
          ·
          edit-2
          11 months ago

          can confirm, I’ve recently had my btrfs partition on NixOS go permanently read-only because it ran out of metadata space (which you can’t extend without write access, even though btrfs does reserve 0.5GB of metadata space) so I’ve switched to bcachefs