Remix.run Logo
▲ pkulak 4 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 2 hours ago | parent | next [-]

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.

▲abrookewood 2 hours ago | parent | next [-]

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.

▲kccqzy an hour ago | parent | next [-]

AI agents are very good at debugging game issues. If a game doesn’t work just ask an agent. Just last week a game couldn’t launch without any error message, and an agent only took two minutes to figure out that the game needed MSVC6 but it wasn’t installed by the game installer nor GE-Proton. Then it figured out a separate issue where the host didn’t have 32-bit graphics drivers.

▲saintvlad 2 hours ago | parent | prev [-]

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...

▲anyy1Uhgbwq6 an hour ago | parent | prev [-]

>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?

▲futureahead 40 minutes ago | parent [-]

[dead]

▲nickjj 4 hours ago | parent | prev | next [-]

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 2 hours ago | parent [-]

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 4 hours ago | parent | prev | next [-]

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.

▲chickensong 39 minutes ago | parent | prev | next [-]

> It's a systemd container that pulls in most of my host config

You might find microvm.nix interesting if you ever want to go beyond containers.

▲pimeys 3 hours ago | parent | prev | next [-]

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 4 hours ago | parent | prev [-]

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 3 hours ago | parent | next [-]

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 3 hours ago | parent | prev | next [-]

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 4 hours ago | parent | prev | next [-]

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 4 hours ago | parent | prev [-]

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 2 hours ago | parent [-]

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)

▲katdork 9 minutes ago | parent [-]

`appimage-run` has never not worked for appimages for me on NixOS unless it was like, unity. i'm also more than happy to set up fhsenvs myself ><

but like... guix still is a little high effort to package things for (though it has guix import or whatever to try auto-generating a package from a supported upstream, e.g. a crate or something).

you can, however, in both guix and nix, have escape hatches (flatpak, appimage, chroots).

https://guix.gnu.org/manual/1.5.0/en/guix.html#:~:text=Data%... guix supports stow-like or "dotfiles" repository like configurations in guix home pretty kindly. with macos, nix-darwin + home-manager was suitable enough for me although a little jank... guix home doesn't concern itself with macos, but you could probably use the exact same dots between them using the aformentioned link

most of the reason one would even use home-manager to begin with is using modules for one's programs (at which point nix becomes something you can't do away with because all of your things are caught up in it) at the cost of indirection (having to read both the underlying program's manual AND the home-manager/nixos module)

guix has less modules and where it does have modules they're more conservative about changes and slower to change

you would be likely to run into the same issues, the question is whether or not you would want to take the easier ways out instead of committing wholeheartedly to purity...? (plus, to begin with, proprietary software means having to figure out guix channels and nonguix! your wireless drivers, nvidia graphics drivers, ...)

i've been pretty committed to the guile stuff to the extent of trying out and contributing to https://codeberg.org/ebeem/gliver as of late but from NixOS, until i move fully to guix :p