News for hackers. Stuff that matters.
Re:Persistent packages on Steam Deck using Nix by o11c on Sunday February 09, 2025 @03:09PM (#42993398)
Last I checked, there was a major caveat to this - it mucks with your PATH in intrusive ways. So it's not "just try it", it's "switch to a frankenstein system and don't turn back"
Re:Persistent packages on Steam Deck using Nix by Rikudou on Sunday February 09, 2025 @03:34PM (#42993659)
Hmm, didn't seem that way, I specifically did it the way I describe in the article to have it easily reversible, though I must admit it's just theoretical, I haven't tried uninstalling it.
Re:Persistent packages on Steam Deck using Nix by saghm on Sunday February 09, 2025 @06:16PM (#42995131)
I'm not sure about using Nix (the package manager) on other distros/macos, but I remember that when I tried out NixOS years ago, one of the things that struct me was just how little PATH stuff was needed. Literally the only thing in /usr/bin was `env`, and everything else was specific to each given package. My naive expectation would be that most of the stuff to be self-contained, like maybe a single script to `source` per package that could get set up as part of an invocation at the end of a shell config, and that worst case, switching back would be as simple as removing that invocation.
Re:Persistent packages on Steam Deck using Nix by tripdout on Sunday February 09, 2025 @07:57PM (#42995805)
It just adds your Nix profile to your path.
Re:Persistent packages on Steam Deck using Nix by jamesgeck0 on Sunday February 09, 2025 @10:38PM (#42996676)
Nah.

- Normally, just deleting /nix gets you 95% of the way back to normal.

- If you want a bulletproof removal, the determinate systems Nix installer saves a file with a list of all the operations it made during installation so that it can be cleanly removed.

- If you want to stop home-manager from hooking into your shell without completely removing Nix, there's a separate uninstall command for that.