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

    You can be sure software {…} will behave the same

    never had that issue before, as long as they have the same version and config

    avoid dependency conflicts

    I have those on Gentoo sometimes, possibly because I overloaded USE too much, but that’s not something I have to deal with on Debian/Mint.

    You can time travel back to a previous state

    wasn’t that possible before with snapshotting (btrfs/lvm)?

    If it allowed me to avoid systemd, I would be willing to give it a go. Perhaps I will try it in a VM, but it’s not going on any baremetal for now.

    • jim_stark@programming.dev
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      1 year ago

      You can be sure software {…} will behave the same

      never had that issue before, as long as they have the same version and config

      Pure:

      If you uninstall a software it might still have residues. If you install a faulty driver, even if you uninstall it, it might still permanently mess the system configuration.

      But with nix if you uninstall something it’s like it never existed in your system.

      Reproducible:

      With nix all the apps in your OS are configure using a single or a few config file(s). So if you want to setup another system the same way you don’t have to go hunting for dotfiles.

      avoid dependency conflicts

      that’s not something I have to deal with on Debian/Mint.

      Because you are recommended to use only software present in the repositories. If you are the kind of person who doesn’t need software outside of your OS repositories then of course you might never need to worry about dependencies. Other people are doing the job for you.

      But if you want to software not in the repos and even if you want to package it for your OS you might run into dependency issues. Never with nix. It’s more for people who don’t mind packaging software for themselves (and the community) and don’t want to deal with nasty dependency issues.

    • uthredii@programming.dev
      link
      fedilink
      English
      arrow-up
      0
      arrow-down
      1
      ·
      1 year ago

      never had that issue before, as long as they have the same version and config

      Then you are very lucky. “It worked on my machine” is a meme for a reason.

      wasn’t that possible before with snapshotting (btrfs/lvm)?

      I haven’t used snapshotting with those before. I guess the difference is that with nix it is done by the package manager by default, with btrfs/lvm you would have to set that up independently (please correct of this is not the case).