logoalt Hacker News

c7b • today at 8:52 PM • 4 replies • view on HN

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.


Replies

iamnothere • today at 9:17 PM

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 • today at 9:31 PM

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 • today at 9:01 PM

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 • today at 8:56 PM

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)

➕ show 1 reply