NixOS 26.11 Released

(nixos.org)

110 points | by lostmsu 1 hour ago

7 comments

  • eblanshey 33 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.

    • alright2565 1 minute ago
      NixOS is also the most tinker-able OS out there. You can quickly have your AI agent make a patch for any operating system component that you want, and automatically rebuild that component and everything that depends on it.

      In many cases I've been able to fix the bugs that I run across, submit the fixes upstream, and have the same fix running on my system simultaneously without worrying about out-of-date packages or what the software's release schedule is.

    • anon291 0 minutes ago
      Yup. I run my entire server setup on nixos. Been doing it almost 8 years now. But I recently handed it all over to my agents. Got pxe booting, instant kexec updates with tpm handoffs, etc... so easy!
    • martyfunkhouser 16 minutes ago
      Time Machine could do that in 2006.
      • tiffanyh 13 minutes ago
        That's completely different.

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

        • martyfunkhouser 2 minutes ago
          Who cares? It's all means to an end.

          I don't have to run an esoteric, experimental OS to achieve the same goal.

          It's a net loss of hacker points — like currency of a country that doesn't exist anymore. Both worthless in the real world.

      • tosser811 2 minutes ago
        Rsync could do that in 1996.
    • Acrobatic_Road 27 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 24 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 19 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.
      • nextos 12 minutes ago
        Yeah, declarativeness and sandboxing are almost orthogonal.

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

        Nevertheless, more tooling on this area would be welcome. It is still a bit behind Guix.

      • pxc 24 minutes ago
        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/
        • eblanshey 5 minutes ago
          Interesting. I've just been using bubblewrap but this one has more flexibility. Thanks for sharing.
      • eblanshey 23 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.
      • greenavocado 3 minutes ago
        ZFS and many other filesystems have snapshots. LLMs don't go around deleting snapshots yet.
      • tripleee 23 minutes ago
        maybe back up your important files?
  • kubafu 1 minute ago
    Thanks NixOS maintainers for everything you do! 9 years of NixOS for me and I can't ever see myself going back.
  • tosser811 21 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.
  • cdmckay 4 minutes ago
    I switched over with the advent of good coding models and never looked back.

    It’s amazing when you’re working with multiple laptops as well, keeping your AGENTS.md in sync along with all your scripts, apps, etc.

    Once you’re used to it, not having it seems like chaos.

    I love it but I don’t think I would’ve had the time to learn it if not for LLMs.

  • arn3n 52 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 30 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 34 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 22 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.)
        • mikepurvis 11 minutes ago
          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.
    • forgotpwd16 35 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 28 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.

      • doubled112 6 minutes ago
        NixOS has binary package caches. It is usually just downloading and installing like any other distro. My NixOS systems don't rebuild anything.
  • shevy-java 13 minutes ago
    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.)

    • murderfs 11 minutes ago
      This is already false, Guix does the same thing.
    • sigbottle 2 minutes ago
      I mean I just use nix, and there's no special god-given reason it has to be "nix", nix just figured out the core algorithm and idea to make it work (innovative, but not anything crazy like Riemann) , and there's a ton of ecosystem backup to make it work.
  • henriquez 28 minutes ago
    [dead]