NixOS 26.11

(nixos.org)

294 points | by lostmsu 4 hours ago

15 comments

  • eblanshey 3 hours 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.

    • pkulak 2 hours ago
      I got heavy into NixOS pre-ai, in like 2020, but I agree, it's an ABSOLUTE joy now. My entire OS is custom built to my workflow, down to every little step. I have custom scripts and services all over the place removing friction. And it's not even chaos! My whole config is logically laid out and I understand every single line, with every module and feature in it's own little spot. And as soon as I notice something about my setup I don't like: I throw an agent at it. If I want to try some software that only lives in github, an agent packages it for me. If I don't like it: abandon the change and rebuild.

      I even had an agent build it's own sandbox. It's a systemd container that pulls in most of my host config, but only has access to a couple directories in my real home. There are so many "container/vm for your agent" projects on github: I built my own in an hour. The file is about 100 lines long; that's it.

      Every change I make is committed and pushed. I have my OS history going back 6 years. My laptop and servers stay in sync with my setup for free. If I buy a new laptop (maybe someday), setup takes an hour, almost all unattended.

      • indemnity 52 minutes ago
        I have this, but multiplied across all my machines with flakes. Three Linux servers, one Linux gaming desktop, and two Macs (running nix-darwin).

        Depending on the role it may have a different set of packages, my edge firewall is obviously stripped way back.

        But like you whenever there is friction, I now have my agent cook up a recipe or tool to remove it, and add it to the Flake repository.

        Secrets are managed via a custom built system I have that needs going through a YubiKey to decrypt .age files on the fly.

        On all machines that have similar roles I have the same tools, configured the same.

        It’s so great. AI fixed the usability issue with Nix and NixOS, now it’s become a completely tailored to me computing environment.

        • anyy1Uhgbwq6 12 minutes ago
          >Secrets are managed via a custom built system I have that needs going through a YubiKey to decrypt .age files on the fly.

          This sounds pretty cool! Anything you can share or explain in more details?

        • abrookewood 42 minutes ago
          Can I ask how it works as a gaming machine? I'm on Ubuntu (largely because it was the 'supported' distro for Total War: Warhammer), contemplating a move to Debian because I want to stick with APT, but Nix is appealing.
          • saintvlad 36 minutes ago
            I run NixOS as a gaming machine - it should be comparable to any other Linux distro. Steam Linux Runtime or proton handles a lot of the Linux-specific issues anyway. And agents solve having to learn Nix for the most part, if that is the part you were hung up on - I've been using it long before agents, but I mostly have the agents edit my config now, so...
      • nickjj 2 hours ago
        I have something similar except I don't use AI and I'm using Arch Linux, but it also works with WSL 2 in Windows and supports macOS for the non-GUI related packages / config.

        It's nice to have a personal dev box and a travel laptop both using the same set up with tiny differences and then being able to do the same for CLI tools on a work laptop running within macOS.

        It's just a single non-committed config file and a committed shell script with no git forks needed to customize it https://github.com/nickjj/dotfriedrice. A bunch of friends are using it and hundreds of others based on GitHub's stats.

        Since I backup my home directory I can blow out and create a new system in however long it takes to run through the Arch installer and then invoke 1 command to set everything up. About 10-15 minutes to set up a fresh machine.

        I'd consider NixOS if cross OS compatibility wasn't a concern but a shell script and Arch has been great a combo for building a custom set up from the ground up. It's something I've been doing for my dev environment for around 8 years now but only introduced a GUI in the last year once my ~12 year old hardware was compatible with native Linux so I could finally drop Windows with WSL 2.

        • jmoggr 1 hour ago
          This is not the same. I used to do something like what you describe, but it can't get close to the ease and safety of a declarative config: updating the script and updating the current system are two different steps, only one of which is easy to verify (let alone libc or gpu drivers randomly breaking when i try to install a dependency...).

          It is possibly worth it if you don't want to go through the nix learning curve, but after you're over that curve the value prop is very different.

      • markstos 2 hours ago
        Nix is also great outside of NixOS. I use it to keep packages consistently installed across a Ubuntu, Arch and NixOS devices.

        I use a NixOS VM to contain my dev work with my agent, which itself is setup by Nix. This protects against supply chain attacks from package installs and other things that might go sideways with linters and other tooling.

      • pimeys 1 hour ago
        Yep. Same. And think about deploying all your servers with Nix/NixOS. Including vllm that needs tons of patches to work fast and correct. And all your derivations are in version control. You can prompt changes, test them locally, deploy fearlessly.
      • c7b 2 hours ago
        Do you have any comparison to guix? I'm intrigued by the concept, and I think some of guix' choices would appeal better to me, but I'm unsure about the size of the ecosyste,m, I almost never hear about it.
        • iamnothere 2 hours ago
          If you like “pure” FP languages like Haskell, you will love Nix’s design and won’t have a problem with the language. If you prefer Lisps and prefer messy flexibility, Guix is probably a better fit.

          Nix makes you bend over backwards to do things the “right” way. Some people love that because it preserves the organization and purity of the configuration, while some people prefer pragmatism and DIY parentheses-laden contraptions.

          There is also the GNU effect, people who strongly prefer the GPL and FSF-adjacent projects will probably be drawn to Guix.

        • danlitt 1 hour ago
          I used Nix for a while (~2019-2023) and switched to Guix. katdork's answer is good so I will try to only write things that complement it rather than repeat stuff.

          I never got the hang of the Nix language and I also never really understood flakes. On the whole I found Nix very friendly if you follow the well-trodden path and profoundly intimidating if you do anything outside of that.

          Having used Guile for a few years I think I still feel that using a general purpose programming language is a better choice than inventing one, however I think Guile is not super ergonomic. It's hard for me to tell whether the project would have worked at all with something like Python, but it's hard to imagine we would be worse off (just given the sheer amount of leverage you get from libraries).

          Generally speaking Guix is much less developed than Nix is. I think with a sufficiently good skillset in Guile it is probably a lot more hackable than Nix, but i'm not certain of that.

          Regarding shepherd as an alternative to systemd: I love the shepherd, and it is a sufficiently small project that you can kind of drive the direction a bit if you use it a lot. I think it's important to have systemd alternatives.

        • luz666 2 hours ago
          This link is my favourite for comparison of NixOS to <insert other OS here>: https://repology.org/repositories/graphs

          Imo it looks like guix is still far behind and not going to get traction at all, even after years. You can find it in the range of Ubuntu.

        • katdork 2 hours ago
          not the parent poster, but:

          guix banned all ai contributions (https://codeberg.org/guix/guix/pulls/11407) in comparison to nixpkgs that has a somewhat friendly ai policy.

          guix and nix both use the nix-daemon, guix has a proper language (guile scheme) in comparison to the weird language you can't really make actual programs in that is nix. most people that said, don't really like lisps as an experience (i do!)

          the ergonomics of nix got slightly better with the pipe-operator(s) feature, at least. it reads like a somewhat deranged OCaml. here's an example of me writing F#-like nix; https://codeberg.org/kittywitch/ala/src/branch/main/flake.ni...

          guix tends to contaminate the system environment more than nix on the whole, typically adding packages (think MELPA, ELPA, ...) to your emacs is literally adding them to the environment in guix, but in nixos this is some pkgs.emacs.withPackages type guy and doesn't contaminate the system environment

          guix is a lot smaller. many things aren't packaged. a majority of people on guix use nonguix (because guix is gnu-affiliated, the proprietary software stance is kept and nonguix provides proprietary drivers/software/...); https://guix.gnu.org/blog/2025/guix-user-and-contributor-sur... for proprietary software. 13% of guix users also use nix for packages alongside guix (And people use flatpaks, whatever, ...)

          they are both relatively comfortable systems but if you want "frictionless" and are all for agents you'll end up liking nixos more than guix.

          guix uses shepherd as an init system and service manager (here's a post on shepherd not liking LLMs: https://shepherding.services/news/2026/08/shepherd-not-robot...) and not systemd (which is what NixOS uses)

          guix also has guix home, which is an equivalent to home-manager in nix-land, but it's built in and first party.

          guix has no alternatives to flakes and flakes are kind of useful although the implementation kinda sucks and is still unstable after ungodly quantities of time

          it goes without saying that guix is presumably less accepting to the users of LLMs

          but like, if you're a lisp machine enjoyer, guix is where it's at

          (usage disclosure: i have used nixos for 6 years now (even before LLMs were the hot new thing) and i have used guix for about a year)

          • grep_name 27 minutes ago
            I used nixOS for about two years and then migrated off. I kept running into issues caused by it not implementing the FHS but also found the tools for working around that (nix-ld, steam-run, 'just write a custom flake for it') to be really lacking and a huge pain. Over the years, the list of things I couldn't do without enormous effort grew too large and I switched back to slackware, where it feels great to just be able to drop a release in /usr/local/bin or run an appimage (appimages in particular were a nightmare for me on nixos, which surprised me as I thought they were supposed to have all their dependencies included but still ran into dynamic linking issues everywhere.) I also never wanted to use home-manager; because of work I have a hybrid dotfile system that works on both mac and linux and being able to port configs via a simple script to systems on whatever os (except windows I guess) is important to me, and I also never felt like the home-manager setup was more elegant or useable than just a symlinked ~/.config dir.

            If I gave guix a spin, would I run into these same exact issues do you think? (Incidently separately from all this I do love gnu guile and lisps in general)

    • Eji1700 25 minutes ago
      I, jokingly, told someone that AI might make the year of Linux happen because it’s less angry about your ignorance and maybe as wrong.

      In many ways I’ve become more serious about that belief, not to perpetuate the angry Linux nerd stereotype but being able to quickly troubleshoot YOUR configs weird one-off without having to dig through forums and discord channels hoping someone can point you in the right direction is what many of us have always needed. Building docs the whole way so it’s not a complete start over if you lose momentum.

      The elitist nerd thing is whatever but having a project that might have taken a day or more of waiting for advice in low traffic social media circles turn into one evening of debugging helps SO much in keeping the “oh I want to try this” inertia of Linux without getting lost because some one off log you didn’t know about has the info you need.

      You still get that log, see how it’s meant to work, and can turn it around and keep going rather than staring at your box and wondering if you’re in the mood for going over the advice you got and double checking for typos.

      And then for Nix specifically things like the dendritic pattern strike me as progress towards the idiomatic standards I always hoped for. The allure of “Ill just see how someone else did it” working with your environment finally being true, rather than “oh better convert to the style I set up” has helped so so much

    • ar_lan 22 minutes ago
      I 100% agree. The biggest gripe people had with Nix was always the language - which is now solved (with AI).

      A deterministic OS with built-in rollback, version controlled, and no longer much of a steep learning curve? I personally have been all in for a while and I would expect/hope many others to do the same.

    • alright2565 2 hours 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.

      • cpuguy83 2 hours ago
        This what I love about. Absolutely trivial to patch existing packages, add your own, even override the one from nixpkgs.
      • dark-star 2 hours ago
        Isn't this possible on any Linux distro? Fetch the source package, patch it, rebuild, install?
        • kam 2 hours ago
          Possible, yes. Easy, no.

          For example on most distros an updated package will supersede your rebuilt one and you'd need to build it again manually. On NixOS, it will rebuild your with your patch automatically.

        • orbital-decay 2 hours ago
          Of course, though maintaining a bunch of these is hell unless it's automated. Nix does exactly that, it automates what should be automated.
        • drdexebtjl 2 hours ago
          Yeah, but you don’t have to do anything when upstream updates, provided your patch still applies. You continue getting updates normally.
        • bigstrat2003 2 hours ago
          In particular, Gentoo makes it really easy to patch packages you install. It's one of the ways in which the source-based nature really gives you a lot of power.
    • JackDrury 1 hour ago
      I partially agree. I have been using NixOS as my daily driver for a few years on my desktop and wanted to setup an old laptop for an always-on agent-only device that I would only really interact with over SSH. I had trouble with proprietary Wi-Fi drivers and some other setup issues (which Claude helped me through with a bit of difficulty). Once it was up and running I also found the agents will often have some difficulty with dependencies I.e. wanting to use other package managers like npm when I would prefer it to use nix-shell. It often sorts itself out in the end, but will hit a lot of dead ends. This could be user-error on my part and a lack of a good Claude.md or similar, but for now I have found it much simpler and stabler for my agents to use a Debian machine. (I still use nixOS as my daily driver with AI agents also running on my machine, just the agent only machine is Debian).
      • throooooo 1 hour ago
        Yeah my harness tries to use all kinds of stuff I don't have installed. It tried to launch ruby today just to hit an API. Updating your agent file to tell it about nix-shell is the move.
    • Cyph0n 1 hour ago
      I would argue that it was the best distro pre-AI (no, I am not biased), but AI elevated it to the next level and made it more accessible to a wider audience.
    • marknutter 2 hours ago
      I've never used Linux as a daily driver and recently I finally decided to make the leap and go with NixOS on the recommendation of a couple friends of mine, and I'm very happy with it. I also wouldn't have even made the attempt were it not for ai. I set the entire system up, including my media server stack, development environments, and more, remotely via telegram and claude code while on a camping trip with my family. The future of computing is talking to your computer and it just does what you tell it to.
    • dark-star 2 hours ago
      What's the advantage over any other Linux distro in a VM that you can checkpoint, refcopy and boot up in seconds? I'd rather let my AI agent run amok in a VM than on my actual production system
      • Cyph0n 1 hour ago
        You can also just run NixOS in a VM, which is what I would recommend to try it out.

        Heck, you can even build & bake a NixOS VM purely using Nix - no Packer or Ansible (or other tools) required. Funnily enough, I just made a short video about this: https://youtu.be/Pb32C2inVhw.

        As for why NixOS vs. another distro, it’s just amazing to be able to declaratively specify the state of your system and “build” that specification with some level of confidence that it will boot and it will work. And if it doesn’t work, you can atomically roll it back without having to solely rely on external (VM or filesystem) snapshots.

      • gf000 1 hour ago
        You describe declaratively your whole system.

        I have a single nix config repo that can build my home server, home PC and remote server all. They have a small shared part (terminal user settings etc), but it also sets up stuff like systemd services etc.

        Like the whole *arr+jellyfin (download media) setup is just a couple of lines and it just works.

      • drdexebtjl 2 hours ago
        So run NixOS in a VM. The advantage is that when the agent does make some (useful) change to the system that you want to keep, the change will be reproducible so you can apply it on your clean checkpoint. On a traditional distro, you would have to checkpoint after the agent made the change, including not only the change, but all the state leading up to the change.
        • throooooo 1 hour ago
          That's a great point. I install things and configure things for random needs all the time. If I change my mind in a week or two it's easy to revert the commit. Snapshotting a VM doesn't come close.
    • uncletaco 1 hour ago
      It’s all fine and dandy until it deletes the nix store
      • nocoolnametom 26 minutes ago
        Certainly possible on a plain `nix` installation on a regular Linux distro, but within NixOS the store is mounted as a RO drive and is only re-mounted temporarily when obtaining new derivations (either cached downloads or building them) so even a `sudo rm` can't touch them. The AI agent would have to be _extremely_ persistent to try and access the store and I can't imagine even a dumb model being simultaneously dumb enough to decide that it needs to fiddle with the story files directly while also being smart enough to try doing it.
      • colordrops 19 minutes ago
        it could delete everything on any distro, or any computer for that matter. Nothing to do with any deficiency in Nix. In fact the nix store is read-only and is pretty difficult to delete unintentionally.
    • anon291 2 hours 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!
    • keybored 2 hours ago
      Old, solid and futuristic-good tech? Congrats, now the discourse is overrun by people talking about machines using it.
      • dirasieb 2 hours ago
        AI is futuristic-good
    • Acrobatic_Road 3 hours 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 3 hours 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 hours 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 2 hours 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 3 hours 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 2 hours ago
          Interesting. I've just been using bubblewrap but this one has more flexibility. Thanks for sharing.
      • eblanshey 3 hours 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.
      • jmoggr 1 hour ago
        zfs snapshots, which its now allowed to touch.
      • tripleee 3 hours ago
        maybe back up your important files?
      • anon291 2 hours ago
        Hmmm.... In my use cases, ai just writes the nix expressions and simulates my entire data center setup in qemu. It also writes a script to deploy the thing. I do the final deployment
      • greenavocado 2 hours ago
        ZFS and many other filesystems have snapshots. LLMs don't go around deleting snapshots yet.
        • 0x457 39 minutes ago
          I had Fable 5 plan migration for a nix host, there was a stage where it needed to add partitions to an existing disk. Multiple times it told me to just run this disko command, multiple times I to make sure its safe because IIRC this will partition and format entire disk, every time it told that is safe.

          Anyway, almost got hit with "you're absolutely right", I mean I did, but I was skeptical enough to read the docs myself first. Another time, Opus 5.5 nuked some of my snapshots because it needed disk space, and these snapshot happen to contain a lot of data that was deleted. It did have my indirect blessing to do it, but still.

        • AlexErrant 2 hours ago
          Heh — not sure how true this is. Literally yesterday I prompted Opus5.5:

              ok we did step 1, 2, 3, and 4 in a prior commit/session.
              Do a review of the most recent commit, which was #4. Fix anything that has an easy, obvious and clearly correct solution. Report anything that needs a human judgement call.
          
          It then fucking ran `git reflog expire --expire-unreachable=now --all` which dropped my git stashes. At ~118k tokens. Why did it expire the reflog? Who TF knows?!

          I had a 3hr old system backup (have an offline backup yall) so it was nbd to recover, but still. The lawnmower will cut off your foot given half the chance. https://imgur.com/a/zjDgp6r

          It might not intentionally delete a snapshot. But y'never know...

          • harshreality 47 minutes ago
            Anything an agent is able to do, it will probably do eventually, without confirmation.

            For this, offline backup might not have been necessary, and not many people have 3hr old offline backups.

            `git fsck --unreachable`, although tedious, maybe could recover the commits with enough dedication, if gc hasn't run.

            Further measures to keep that from even being necessary:

            Is the filesystem btrfs or zfs? Snapshots are your friend (there are existing snap+replication solutions like btrbk or sanoid -- in this case, to be configured to take a series of snapshots without subsequent replication).

            Another potential mitigation is to run a master git repo with force-pushing disabled, and have the agent clone/pull from that. Joint use of a single local repo -- with fragile stashing on your part, and an agent also manipulating the repo without confirmation -- seems dicey.

          • greenavocado 1 hour ago
            That is wild. Do you happen to work in the same verticals Anthropic is trying to compete in? LOL
    • TacticalCoder 31 minutes ago
      [dead]
    • dblooman 2 hours ago
      Counterpoint, in the AI world, nix is less relevant for local dev. With remote environments and the trend to build less locally, minimal remote environments with little management are a nicer experience. I think running agents on a local system will be less common in the enterprise by the end of 2027
      • throooooo 1 hour ago
        One could say the same thing about not running tests and CI steps locally. People still do it because iteration times are crap just doing those things remotely. Although this matters less if you have an agent hammer on it while you do other things.

        For local dev, nix is extremely nice for activating the exact environment specified in the flake. Dev/build time/prod/etc. all match up exactly.

    • martyfunkhouser 2 hours ago
      Time Machine could do that in 2006.
      • tiffanyh 2 hours ago
        That's completely different.

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

        • pxc 2 hours ago
          Time Machine didn't even get real snapshots until APFS came out with High Sierra in 2017. It had to walk the filesystem while you could still write to it; it wasn't truly point-in-time.

          And even then, filesystem snapshotting isn't the kind of rollback you get with Nix, and Nix's implementation doesn't require a filesystem that supports snapshots.

        • martyfunkhouser 2 hours 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.

          • ndriscoll 2 hours ago
            NixOS isn't experimental. It's older than Time Machine. Linux is also just generally more useful as a desktop environment unless you're specifically invested into the Apple ecosystem (e.g. on OSX you get people using Homebrew as a package manager because there's no good builtin one, which IIRC does things like update other packages you didn't ask it to update when you install something, in addition to having its own esoteric vocabulary and error messages, telling you that for this package you should've tapped a cask or whatever when you try to `brew install`).
          • tosser811 2 hours ago
            I've never once had the desire to restore system state from something like Time Machine. If my OS is hosed, it's hosed and I'm going to reinstall it. NixOS doesn't allow you to get into that state because of its very design. It is far from "worthless."
          • tecleandor 2 hours ago
            You could restore disk snapshots way before Time Machine, IT departments did it all the time. And you could do it from the network, from a CD, from another drive, from...

            But NixOS is not that at all, it's not a backup solution. You can't take TimeMachine (or whatever disk snapshot solution you use, even ZFS if you like) and ask it to reinstall your system from clean just like before, but with a different Firefox version (just to set an example). Or to replicate it partially or totally in a container or VM.

            I don't even use NixOS (although I do a lot of snapshots), and it's a completely different thing.

          • pxc 2 hours ago
            NixOS has never been about hacker points, although its increasing fame among young distrohoppers who want it to play the same role as Gentoo or Arch in certain juvenile subcultures seem to have confused some people on that point. (Such users are of course very welcome and likely to eventually contribute generously in terms of support time, debugging, or code. It's just that sudden changes in a project's popularity tend to challenge cultural continuity.)

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

            Indeed, you can achieve something pretty decent today on macOS with Nix-Darwin. Both the rollback capability and the declarative configuration management Nix offers are OS-independent.

            > It's all means to an end.

            Sure! The best reasons to run NixOS are "I enjoy the experience" and "it's really good at this specific thing I want/need to do". NixOS offers experiences that reignite the joy of computing for many, many people. If it deserves any "hacker points", it's for bringing delight to hackers, not for some notion of technological sophistication.

            If you've tried it and don't like it, then it's not for you. But if you haven't, though, you might ask yourself whether your healthy tech curmudgeonry, that impulse to resist the arbitrarily trendy, has devolved into philistinism.

          • orbital-decay 2 hours ago
            It's not about "hacker points", the agent makes complexity nearly invisible (current agents wreck havoc on Nix code quality if left running completely unattended, but that's another question). NixOS gives the agent a devops engine for your machine or a fleet, "global undo" is just one tiny thing it can do. For example the agent can do something in the background without interrupting you using a shadow branch of the entire operating system. It's extremely flexible, Time Machine and systems with immutable snapshots are incomparable.
      • tosser811 2 hours ago
        Rsync could do that in 1996.
        • Forgeties79 2 hours ago
          Rsync is great but honestly? Time Machine is the number one thing I miss from MacOS by far (went full-Linux about 18mo ago, MacOS user for 15 years prior). The most turnkey and intuitive backup system I’ve ever seen and it’s free*

          Having that plus idrive for cloud was just so fire and forget (and cheap!) it was great.

          *if you have a drive to store on

          • jmspring 2 hours ago
            I really disliked the time machine UI. It was easy to setup and forget, for sure.
            • Forgeties79 2 hours ago
              It was a little too cute but if you needed to boot your computer onto a new Mac, it was a few clicks and you’re done. Wonderful experience. That’s why I liked idrive for general access/browsing of files too.

              Time Machine was the “oh shit” button for resetting or starting a new computer and it worked very well. It was also very stable and hard to misconfigure.

      • cloudfudge 2 hours ago
        And dd could do it decades before that. This entirely misses the point of what nix/nixos does.
    • linux4dummies 2 hours ago
      [dead]
  • weightedreply 47 minutes ago
    I used NixOS for a couple years pre-LLM's. I'm still using Nix (well devenv). I ended up switching to Fedora Kinoite for immutability and SELinux support. But I'm still very interested in NixOS.

    I've become anxious using packages from nixpkgs or AUR. I'd prefer user programs running on my system be inside a flatpak/podman/VM. Do NixOS users worry about supply chain attacks from nixpkgs?

    • __MatrixMan__ 29 minutes ago
      I think we (NixOS users) worry only slightly less about supply chain attacks on nixpkgs than we would about installing a package via something like homebrew.

      The connection between code and installed binary is more fully specified in nixpkgs. You can of course still hide a malicious payload, but the hiding places are all worse than they'd be otherwise: a little more likely that the bad guys would get caught, because now they have to hide in the open.

    • NewJazz 44 minutes ago
      You can build a nix-based container or vm image and run that, but I'm not sure what kind of tooling exists for that.
  • linsomniac 28 minutes ago
    Help me understand this comment I got about a NixOS comment ~a month ago: "No legit enterprise is running that clownware — ever."

    I assume it is a reference to some of the project administration issues they were having ~a year ago? Or is there something else I'm missing? TBF, I was saying, in reference to switching away from Ubuntu: I'm thinking about NixOS for servers. Because it's been stellar on my desktop.

    Now, I doubt my company qualifies as a "legit enterprise", but we will probably stick on Ubuntu because it's a supported platform for Kafka, and that's really the only thing that we need "supported platform" from.

    But I've often thought back to that comment and wondered if there was anything of substance behind it.

    • titanomachy 11 minutes ago
      It's not the way that big enterprises do things now, but I don't see why it couldn't become common in the future. Maybe it's just that no one big wants to be the first to adopt something experimental and different that came from the open-source community? Google adopted Linux when they were still small and scrappy.

      All the "digital-native" big enterprises at this point have a good-enough solution to the the problem of reproducible, hermetic builds, with a lot of tooling built up around it. I'm not sure that NixOS would be enough of a value add to justify retooling such a foundational and already-standardized part of their stack.

      So my prediction is that some new company will build their tooling around NixOS, then become a big successful company, and then others will copy them because it's now proven at "enterprise" scale.

      • linsomniac 0 minutes ago
        I'd buy that, but that hardly makes it "clownware". There must be something else under that comment, assuming there's any substance to it at all.
  • kubafu 2 hours ago
    Thanks NixOS maintainers for everything you do! 9 years of NixOS for me and I can't ever see myself going back.
    • Cyph0n 1 hour ago
      +1, thank you for all the amazing work!
  • tosser811 3 hours 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 3 hours 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 3 hours 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"

      • Cyph0n 1 hour ago
        Yeah, but what else do you really need to add a new package? Hydra (the CI server) will build all packages and run all tests, including NixOS integration tests. Everything else is handled via user bug reports.

        It’s definitely not a curated set of packages like Debian, so it’s up to you to be reasonable about what you’re installing. Stability of packages has been stellar in my experience.

    • forgotpwd16 3 hours 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.
    • unshavedyak 3 hours 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 3 hours 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 2 hours 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.
    • bpye 2 hours ago
      I am listed as a maintainer of a couple packages. Getting packages into nixpkgs isn’t too hard, and updates are often automated. I have very rarely needed to do anything beyond glance over the auto update PRs.
    • eventualcomp 3 hours 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 2 hours ago
        NixOS has binary package caches. It is usually just downloading and installing like any other distro. My NixOS systems don't rebuild anything.
        • kalaksi 1 hour ago
          Mine sometines did and it can be a pain especially if running low on resources.
          • doubled112 29 minutes ago
            The raspberry Pi I tried it on needed to build a kernel before I got started

            I am not that patient. It runs something else now.

          • saintvlad 16 minutes ago
            [dead]
  • marshray 38 minutes ago
    I just tried getting started with NixOS on a laptop. I like it and plan to migrate more stuff to it, particularly given Ubuntu's latency of delivering security updates.

    It's so elegant in some ways that it makes up for the other ways that it's just a complete mess. Nothing's perfect.

    • colordrops 17 minutes ago
      which parts are a "mess"?
  • cdmckay 2 hours 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.

  • aliasxneo 1 hour ago
    This is my entirely subjective take: I ran Nix and NixOS heavily for around four or five years. Both personally and in production at day job. I stopped using it when the community started becoming a bit too unpredictable. Since then, I've had a pretty standard setup, with maybe `mise` being the most interesting thing. All I can say is that I've noticed exactly zero difference across those years in my day-to-day troubles. I neither think Nix improved or made worse the situation compared to not using it. Which is funny, because I use to be the Nix evangelical going around explaining why people should run it, having all of the common scenarios almost memorized. Yet, after leaving Nix, I've never actually _replicated_ any of those scenarios. I was basically fear-mongering.

    So yeah, take it with a grain of salt, but it's helped me understand why adoption always felt so hit-and-miss with my co-workers.

    • throooooo 1 hour ago
      What community interactions have you had that caused you to form this opinion? So far I've only opened a few package upgrade PRs and posted on discord when they weren't getting attention. And the experience was "fine."
      • aliasxneo 36 minutes ago
        This is going to be a cop-out answer, but I'm just not going to re-litigate the past here. Suffice it to say, at $day_job I worked with some individuals that were _deep_ into the ecosystem. So much so that any drama in the Nix community tended to spill over into $day_job. Based on what I saw at that time, I wasn't confident in the longevity of Nix. I ended up taking the team I led (who were all tired of Nix) to a more "standard" Docker-focused setup and was immediately ostracized by like 90% of the engineering org. Which really just reflected how I saw the Nix community.

        I'm sure everyone has had different experiences, so I'm not proposing mine is authoritative at all.

    • Cyph0n 1 hour ago
      I have been using it for a little less than 5 years now, and I am really struggling to think of any impact all the procedural “drama” had on me as an end user.

      Releases were out on time, issues were fixed, my PRs were reviewed. So I have always been confused by this hyper focus on Nix organizational internals from end users.

      Sure, if you’re a corporate sponsor of the project or something, you would want to know that the project is in good hands. But does it matter for someone like me who’s running NixOS in their homelab?

    • gf000 1 hour ago
      For general dev work, you may not notice it depending on your stack.

      But for actually managing your system itself, I don't think anything comes close. That I can just try some random service with a single line in config, check it out and remove without it trashing my whole system, this is simply not a thing. And this applies to much more complex stuff like some one of kernel option and whatnot.

      • kalaksi 1 hour ago
        I get the appeal and use NixOS on some hosts, but in practice, thrashing my system with package managers or containers hasn't really been a problem for me.

        I've used different kinds of config management and (declarative) deployment tools and my current favorite for hobby servers is Fedora CoreOS and docker/podman-compose.

    • rch 1 hour ago
      The community is entirely predictable, the same way plutonium is.

      I'm still an avid user but it's not welcome at work.

  • adamcharnock 1 hour ago
    Very much piggybacking on this thread as there are a lot of Nix fans here, but a friend and I just announced https://kix.run literally yesterday. It is a re-imaging how one could interact with Kubernetes given what we have learned from Nix.

    And as others have said, working with Nix in the AI era has been a huge pleasure. All our servers are now on NixOS. A big thank you to the Nix team!

    • submain 1 hour ago
      I'm curious, how do you manage your nixos inventory?

      I was using colmena for all my nixos servers. But keeping everything up to date was kind of a pain.

      • adamcharnock 1 hour ago
        We have a system that does rolling updates of each cluster, and can detect how disruptive an update will be in advance. Right now we just do this on a manual schedule, but we’re looking at automating this soon. We also use Colmena. But I’d certainly be interested in hearing of other people’s experiences / solutions.
  • rcarmo 2 hours ago
    That's timely. Time to update https://github.com/rcarmo/nixos-azure-arm64 and test it again (I haven't deployed new images in a bit, the current VMs have been upgrading fine)
  • yewenjie 1 hour ago
    Anything really cool that has come up in the Nix ecosystem in the last one year? I haven't kept up.
  • mbrumlow 2 hours ago
    What ever happened to lix?
    • tfrancisl 1 hour ago
      It is still kicking and getting updates from its small team. It's the flavor of the lang / evaluator i personally use everywhere.
      • RaitoBezarius 44 minutes ago
        And we even have more updates planned (some totally not caused by recent news in cryptography… !), thanks for using us!
  • shevy-java 2 hours 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.)

    • zernoshka 2 hours ago
      Universal Blue/Fedora Atomic desktops are similar but different. Using it, I've created my own immutable OS from a Fedora base image, and declared configurations and packages using bash scripts and Containerfiles.

      My config: https://github.com/zernoshka/Phoenix/blob/main/Containerfile

      Universal Blue: https://universal-blue.org

      • zamalek 2 hours ago
        While I use NixOS for my whole system, I _suspect_ that the best option might be ublue for / and nix home-manager for /home (and user apps).
    • murderfs 2 hours ago
      This is already false, Guix does the same thing.
      • jnpnj 2 hours ago
        Makes me wanna find a group dedicated to tracking and studying OSes and platforms sharing similar traits. Immutability, functional oriented, verifiability, etc etc
      • Cyph0n 1 hour ago
        I mean, Guix was inspired by Nix no? But yes, it does provide a similar experience to that of NixOS. I have never used it, but I heard it’s sometimes rougher around the edges and less documented than NixOS (which itself is lacking in this area!).
    • orbital-decay 2 hours ago
      Guix/Guix System is a pretty good alternative and a less chaotic ecosystem. It has fewer people behind it, though.
    • sigbottle 2 hours 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.
      • ikety 2 hours ago
        Exactly, I'm not married to Nix. I'm married to the idea, which just currently happens to be best solved with Nix.

        Eventually moving to a different solution for the same problems is fine to me.

        Going backwards is not.

  • henriquez 3 hours ago
    [dead]