NixOS 26.11 Released

(nixos.org)

93 points | by lostmsu 1 hour ago

4 comments

  • eblanshey 17 minutes ago
    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.

    • martyfunkhouser 0 minutes ago
      Time Machine could do that in 2006.
    • Acrobatic_Road 11 minutes ago
      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"?
      • tosser811 8 minutes ago
        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.

        • eblanshey 3 minutes ago
          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.
      • pxc 8 minutes ago
        [delayed]
      • eblanshey 7 minutes ago
        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.
      • tripleee 7 minutes ago
        maybe back up your important files?
  • tosser811 5 minutes ago
    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.
  • arn3n 36 minutes ago
    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.

    • mikepurvis 14 minutes ago
      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"

    • unshavedyak 18 minutes ago
      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.

      • jml7c5 6 minutes ago
        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.)
    • forgotpwd16 19 minutes ago
      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.
    • eventualcomp 12 minutes ago
      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.

  • henriquez 12 minutes ago
    [dead]