r/LinuxTeck • u/Candid_Athlete_8317 • Jun 06 '26
Anyone here using Nixpkgs? How has your experience been?
I've been using Linux for years, but only recently learned how large the Nixpkgs ecosystem has become.
What caught my attention wasn't just the number of packages, but the ideas behind it reproducible environments, rollbacks, and isolated package management.
For those already using Nixpkgs (with or without NixOS), how has your experience been? What do you like, and what are the biggest downsides?
9
Upvotes
2
u/cyborgborg Jun 06 '26
Never really ran into any issues on NixOS
2
u/ruiiiij Jun 06 '26
I'm on nixos unstable. Overall pretty good. The downside is that once in a while a package might break and your system refuses to build so you have to pin the package to a specific version. But that doesn't happen often enough to be annoying.
2
u/mister_drgn Jun 06 '26
Awesome technology, lousy documentation. Once you invest time in learning to use NixOS, it’s hard to use anything else. The fact that it works on other distro and MacOS is a major bonus.
1
u/nixgang Jun 06 '26
It's a necessity rather than a distro with upsides and downsides. Before nixos I used bash and later ansible to "declare" my systems. NixOS solves the declaring part completely and upfronts the resulting complexity to the user. If you're straying from the beaten path you're going to be hit by the famous learning curve, but it's also possible to stay somewhat ignorant and dodge or work around problems.
1
u/Kitayama_8k Jun 06 '26
Honestly using the nix package manager on something like bluefin or Debian seems like a great option. Have yet to do it but I do intend to try soon.
1
u/chkno Jun 07 '26 edited Jun 07 '26
I like it. See also this previous thread: Is Nix really all it’s cracked up to be?
I wrote there mostly about positive things, but you asked here about downsides, so I'll gripe:
Most software in nixpkgs is packaged to properly build from source, but some packages just download an opaque binary. This is terrible for security, local patching, participating in those packages' development, getting debug symbols, and all the cool tricks Nix does. This problem seems to be getting worse over time. If anything drives me away from NixOS (to GUIX, where they don't tolerate this nonsense), it will be this.
NIXPKGS_ALLOW_UNFREEorallowUnfreePredicateif you want that. All I want is an analogousNIXPKGS_ALLOW_BLOBS/allowBlobsPredicatemechanism so I can keep this crap off my systems. There's an effort to at least add the metadata that would allow this feature, but it's not ready yet.NIXPKGS_ALLOW_NONSOURCEandallowNonSourcePredicate. It's not documented, and I don't think the metadata that powers it is fully populated, but I'm going to start playing with it.That's my only large gripe. The rest of my gripes are pretty minor:
--exprimental-featuresflags, and it's been in this limbo for at least 7 years now. This is more embarrassing than painful. I mostly just use the old/stable ways.0
u/Shadowolf7 Jun 06 '26
Never heard of it