Unofficial Hacker News companion — get notified on comment replies, and more.

NixOS 26.11 Released (opens external site)

95 points by lostmsu 1 hour ago nixos.org 20 comments (opens Hacker News) Vote (opens Hacker News)

Comments (20)

  1. 8000 packages added, 25000 updated, 3000 removed.

    That’s crazy; I wonder what the quality and stability of all these packages are. I run NixOS on my homelab and have been generally pretty happy, but I suspect I’m only using very standard, well-worn packages.

    Replies (4)
    1. Expectation is: if upstream program version packaged is good, package is good. Majority of derivations just pull from upstream since there's no need to take extra steps to make everything work happy together, i.e. pkg1 can depend on libA_v1 and pkg2 can depend on libA_v2 or libA_v1-but-with-some-patches, without conflict or extra work, due to Nix's design, whereas on regular distros it isn't as simple. Also Nix manages python/ruby/etc packages that on other distros will've been installed by pip/gem/etc.
    2. Yea, i was just discussing this - i'm concerned that Nix's model of git based channels leads in the current day of constant exploits leads to constantly updating the channel (or in my case, my flake lock), and as a result possibly letting in sketchy updates.

      I'd feel better about updating my lockfile so frequently if there was some sort of global-min-publish-age like Rust's Cargo has.

      Not really sure what the ideal solution is. I just know i'm getting more concerned with each update heh. Especially since so many of us use unstable for some/all packages.

      Replies (1)
      1. I was more concerned about this before LLMs. Nowadays, I suspect people are using LLMs to monitor nixpkgs commits for malicious changes. (Or rather, I hope people are. It seems like an obvious strategy, but perhaps it's too expensive for any single individual to undertake.)
        Replies (1)
        1. I expect there are orgs that are paying to at least monitor the stuff in their closures, which with enough such participants should give decent coverage of a common baseline, even if it's patchier at the fringes.
    3. I'm not an active maintainer, but nixpkgs definitely has a huge amount of automation going on. Tons of stuff getting slurped in from other package managers, pypi, cargo, etc.

      Ryan Mulligan's bot alone is responsible for over 162k PRs in there:

      https://github.com/NixOS/nixpkgs/pulls?q=is%3Apr+author%3Ar-...

      And I believe much of that is actually pre-LLM, just the basic work of "what version have we got, what version has upstream got, okay bump forward and run the test suite, PR"

    4. I mean, NixOS is big on determinism, so when you declare what a package is, you typically have to redefine a deterministic identifier of the dependency, e.g. a sha256. To contrast, I do not think when you update libssl on Ubuntu, it's advertised as updating all the networking-enabled packages on your system. But for NixOS it literally is.

      My NixOS concern for homelabs is whether such package rebuilds will destroy the write cycles on my storage. Especially in this market I think I would rather let hyperscalars deal with that kind of problem.

  2. NixOS is, in my opinion, the most AI-ready operating system. It eliminates the fear of letting AI's wreak havoc on your system and render it unbootable, as rollbacks are built-in. Combine it with a good personal file backup system like borg and you're golden. My days of tinkering to get things to work in Linux are over, and that makes me happy.

    In the future I can see something like NixOS going mainstream by hiding all the scripting behind "Advanced" settings, and letting users control their OS using AI. I'm actually surprised I haven't seen that implemented yet, as I think it has a lot of potential.

    Replies (2)
    1. That's only true for the declarative parts of your system. What if AI decides to delete your photo library and you don't have a backup? Or it deletes your old generations to "save space"?
      Replies (5)
      1. Use a sandboxing tool that offers restrictions on the filesystem and rollbacks on whatever parts the LLM agent has write access to. I use this one: https://nono.sh/
      2. I guess you missed

        > Combine it with a good personal file backup system like borg and you're golden

        As for old generations, I keep my system flakes in a git repo. Even if they're garbage collected I could checkout the old commit and rebuild if necessary.

        Replies (1)
        1. Git is the way to go. Again, I think all of this stuff can easily be set up for non-tech people out of the box: backups, git repo, built-in AI agent, perhaps running locally using a small model fine tuned for the OS. All optional.
      3. That's why I mentioned the backup system as a requirement. Ideally the OS can help set this up for non-techy folks from the get-go.
      4. maybe back up your important files?
      5. Yeah, that statement made no sense. Declarativeness and sandboxing are almost orthogonal.

        However, it is worth noting that NixOS has pretty good sandboxing facilities.

        Nevertheless, more tooling on this area would be welcome.

    2. Time Machine could do that in 2006.
      Replies (1)
      1. That's completely different.

        Time Machine was a snapshot backup, which if fundamentally different.

  3. Thank you to the maintainers! I've been a convert for ~2 years now. The maintainability and reproducibility that the Nix ecosystem provides is unmatched.
  4. People we need more competition here.

    Right now NixOS is kind of unique in many ways.

    I will now put up a challenge, perhaps 1 out of 1000000 may consider it as a claim:

    The claim is that no other linux distribution will offer features similar to NixOS in the next three years.

    (Hopefully I will be wrong, but the challenge has now been started. See you in three years to check.)

    Replies (1)
    1. This is already false, Guix does the same thing.