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 !

  • 20gramsWrench@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    1 year ago

    I’m really not sure of where this would be anymore usefull than a simple bash script to install all packages you need since it doesn’t do configs and that rollbacks are supported by some filesystems already. Also Having version specific dependencies is already a thing for flatpacks and such

    • priapus@lemmy.one
      link
      fedilink
      arrow-up
      0
      ·
      1 year ago

      A simple bash script is not reproducible or deterministic. Also a filesystem rollback is not the same as NixOS’s generation based rollback.

      Also, NixOS doesn’t just install packages, all system configuration is done declaratively, which would be a very bad idea to do via a bash script.

      • 20gramsWrench@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        0
        ·
        edit-2
        1 year ago

        I have to check a little harder on what it does since I saw in a vid that you still needed to add your own if statement to get it working I assumed a simple

        pacman -Qk xorg-xrtrop 2> /dev/null && sudo pacman --noconfirm -S package1 package2 package3 || echo 'I aint got no x, idiot'

        would do the job as well