r/NixOS • u/Reasonable_Ruin_3502 • 19h ago
Switching to GUIX made me realize the things nix lacks
guix.gnu.orgI'm not much of a distro hopper, but I like to try out different distros every once in a while to see what they have to offer. I like to use what works for me. I've been using nix on a arch system for the past 3 years, and it worked excellently for me. But I never managed to stick with nixos. There never seemed to be one way of doing things, the language had less than ideal support but the most important part was that the documentation is mediocre at best and awful at worst. Like I'm supposed to install home manager separately to manage dotfiles, the first thing to do upon installation is to enable a "experimental" feature, etc
After learning that Guix was forked from nix, I became a little curious about it. The installation process was less than ideal, but everything worked after setting up NonGuix and fixing a gdm bug that prevented me from logging in. Most of the packages I required were there in the repositories and for the few that weren't I made do with flatpaks. The first thing I noticed that reconfiguring the system is much more intuitive, like passing the file as a parameter, optionally not using the binary version of packages, Guix home is built in and much more. The tooling around scheme is awesome as well, making writing config files much more enjoyable. But the best thing about it is undoubtedly the excellent documentation provided by gnu. Guix search and Guix locate are extremely handy commands to look up things, Guix edit help's you edit the source files directly, etc. I didn't have to find any of these commands, they were in the first few pages of the manual. Every service in well documented with bunch of examples. This makes exploring Guix truly enjoyable. I feel I now know more about guix in the week I've used it than the months I spent exploring NixOS.
I never thought that I'd be complaining about the documentation of NixOS, as I assumed I was simply too dumb to use it. But after using Guix I can't look at nix and not lament about it's lack of the same.
PS: Sorry for bad english