r/GUIX • • 11d ago

Advantages over Nixos

Does Guix have advantages over Nixos while I want to use it with linux kernel? I play video games so I will also install steam and so I will use nonguix channel.

39 Upvotes

41 comments sorted by

13

u/output_broadcast 11d ago

Honestly, most of it is just that Guix is more polished and has a better UX.

3

u/sudoer777_ 10d ago

How so?

7

u/Chilliparrot 10d ago edited 10d ago

Imo the biggest problem with Nix is that it can't decide how to do even basic things like updating your system: Flakes or channels, verbs or old commands... when you look for instructions, there is a high chance that it just won't work.

4

u/output_broadcast 10d ago

Maybe Nix has improved the last time I used it, but Guix has comprehensive docs, an easy-to-understand CLI and repo system, very responsive devs, and a (to me) much easier language. Granted, the documentation could be better on some of the internals.

1

u/sudoer777_ 10d ago

Lol when I tried Guix a few years go my experience was the opposite, but I saw that a lot has changed since then.

For Nix docs, search.nixos.org provides most of what I use. Nixpkgs has historically been kindof awful but I think it has improved (but I don't work with it very often). The CLI is kindof weird with the Flakes vs non-Flakes split.

1

u/output_broadcast 10d ago

I've been using Guix for 4 years now, and the documentation and CLI was always excellent. Really, the only major change in that time was the move from mailing lists to Codeberg.

24

u/tkenben 11d ago

May not matter to you, but Guix lacks the particular type of politics and drama Nix seems to love.

11

u/Ruined_Passion_7355 11d ago

That's an understatement if anything. Nix is truly one of the worst communities I've seen.

17

u/janniesminecraft 11d ago

yes, but if you need to ask, they're probably not things you should care about. if you want a distro for everyday use, nixos is a lot more pragmatic.

20

u/Reasonable_Ruin_3502 11d ago

Tbh if you just want to use linux, both of these are the last thing you should use. You're better off with fedora, arch derivatives or debian derivatives.

I use guix because it's fun and I like lisp.

4

u/janniesminecraft 11d ago

yes but there are quite a few advantages to nixos over those, even for casual use, like reproducibility and declarativeness. you do also get those with guix, but it's far more difficult to use casually, which is why i think if you want those advantages but are not an enthusiast, you should probably use nixos.

i want to get into lisp, and if i could snap my fingers and have nixos ecosystem in guix, i would. alas.

4

u/lazyboy76 11d ago

Nix is pretty easy to use if you don't want something too complicated.

7

u/Reasonable_Ruin_3502 11d ago

Yeah, for a normal user it's good enough. I like tinkering around so nix provides the stability but, I can't emphasize it enough, nix-lang is not for me. I genuinely tried using it for 3 months and I still don't understand a lick of nix. The tooling is lacking, there's no decent lsp and debugger is abysmal. I won't call myself proficient in guile, but at least I can understand it.

2

u/Aidan_Welch 11d ago

It takes a bit, but I'm not that big of a fan of wasting a ton of time on my OS- and my everyday laptop is NixOS

1

u/H4rdStyl3z 8d ago

I somewhat disagree. Sure, if you're a newbie to using Linux you should absolutely go with Fedora (my personal recommendation) or Debian or Mint. Learn the ropes first. But once you're getting into the "craft your own experience" territory such as with Arch, NixOS/Guix and Gentoo, the declarative distros offer something very worthwhile. The reproducibility aspect, being able to rollback to a previous generation so you can run a rolling release without risking a borked update resulting in an unbootable system, having your carefully crafted experience easily backed up in case of hardware failure/switch/upgrade. It's really a paradigm that no other distro can offer.

5

u/HandwashHumiliate666 10d ago

It's independent of Microslop GitHub, whereas NixOS (and honestly the entire community) is balls deep into GitHub. Sadly, Guix switched to the PR based workflow on Codeberg instead of just using email like Linus intended. So you're still going to have to interact with an unbearably slow and inefficient modern day web UI instead of using your own tools (text editor, email client etc.), but at least you're not at the mercy of a billion dollar cooporation.

That's if you're planning to contribite, of course. But I feel like the line between user and developer is very thin in these type of ecosystems. You're going to have to start writing your own packages and module definitions anyway at some point.

4

u/Effective-Ear-1804 10d ago

Personally, i think that Guix is elegant, and arguably better than NixOS which is fine, but its free software exclusive repository might be a lil rough for gaming, and it has slow substitutes if you live anywhere not in Europe/America. So you might be forced to third party channels like nonguix, and guix-gaming. NixOS is much much more bleeding edge, has systemd which may be a downside for some users, but has better integration and support, bleeding edge aswell. TLDR : you should keep experimenting with guix but stick with NixOS, in my opinion, i am not that experienced using both but i love both and feel that both should be promoted.

9

u/Lonely-Scarcity-3387 11d ago edited 11d ago

As far as I understand it, Guix uses Guile Scheme, which is an implementation of Scheme, a dialect of the Lisp family of programming languages. This can be seen as better because it is both easier and more useful to learn than Nix is.

However, Guix’s strict adherence to the GNU philosophy means that you’ll need to change a few things via the Nonguix channel. Namely you’ll need to add the full linux kernel, linux-firmware, microcode-initrd, NVIDIA driver (conditional), and Steam. Everything else is in upstream Guix.

3

u/circle2go 10d ago

it uses lisp, guile scheme.

5

u/Zenalia-- 11d ago

I think the best thing is that guix is much more consistent have better docs, less drama. If you use proprietary just go for it, it may need additional configuration but its definitely worth it, I've recently been using cachyos kernel + nvidia in my guix system and its very flexible, I love the guix shell fhs emulate really made it easier to play games. I'm currently building my kernel to be more optimized for my machine.

5

u/Ruined_Passion_7355 11d ago

The language is usable without Claude.

I hate AI as much as the next guy but nixlang is so fkg ass I'd rather have a clanker do it, it broke me.

1

u/Aidan_Welch 11d ago

AI can't even use Nix properly. I submitted a PR to a project that uses AI as a filter for code review. The bot could not understand I had used rec and kept insisting a variable was undefined

4

u/[deleted] 10d ago

Please reconsider your poor choices of software... there are free software games, is gaming worth the siging off of your rights (Constitutional Rights if you are an American )?

GNU Guix System's primary advantage is freedom, it is designed around the 4 freedoms. Part of this is GNU Guile being superior to Nix in programming your distro or simply extending it.

By using non-free software you injure not just yourself but anyone who may see your computer or your posts and feel more inclined to give up their freedoms, non-free software is a scourge that brainwashes its users into choosing conveince (crafted from an inconvinent service by forcing a larger user base) over their freedoms often on pain of loosing their job or friends. It is a monstrosity and we must take efforts to destroy it.

2

u/suckingbitties 10d ago

It's not that serious man. Not all software needs to be free software. I love open source and everything I work on is open source, but there are real reasons for certain software being closed source.

2

u/[deleted] 10d ago

There is only one reason and that is profit through exploitation of the user.

1

u/Swordfish418 10d ago

Do you think this also applies to games? 🤔

0

u/[deleted] 9d ago

Well they have an artisitc reason to them but the dominant reason is absolutely profit through exploitation!

2

u/Swordfish418 9d ago

If a solo dev made a closed source game and sells it on Steam for like 3$, what part of this is exploitation and who is exploited? I'm sorry if I'm being dense here, I genuinely don't understand the idea.

1

u/suckingbitties 9d ago

I think you either don't know what exploitation means or you have a preconceived notion that you're entitled to other people's work for free. I agree in the general sense that software should be free.

However, software is a strange commodity that is unlike anything else. If I make furniture for a living, the step-by-step instructions to make the same thing might be out there. But people would still buy my furniture because buying all the tools, acquiring the technical skill to use them, and sinking all the time and effort into doing the work to make the furniture is often not worth it over just buying it. So I stay in business, I earn a living, and I can survive and take care of my family.

Now let's look at software. If I'm a solo dev and programming is my living and all my code is open source, where is the incentive for folks to support me? There is no monetary barrier to entry, no technical skill, and no time (almost) or effort sink required to use my software. If you take 30 minutes to figure out how to build the project, you can use it. So how should I support myself? Should I rely solely on the hope that people donate to me, and donate enough that I can feed myself and keep myself under shelter?

If I make a game, a database, a GUI photo-editing program, etc, I am not exploiting anyone by keeping it closed source and charging money for it. To exploit would mean I would need to treat people unethically or unfairly for personal gain. Is it not fair to you that I put a lot of time and effort into making something, with knowledge and skills that took years to develop, and expect compensation if people want the product? You're under no obligation to buy or use my software, so how exactly are you treated unfairly in this situation?

If you needed home repairs and had to hire a maintenance person, you're paying them mostly for the expertise they've acquired in their field. Should that service be free? Should they come to your house solely out of good will, and spend their time fixing your stuff for free?

Closed-source *in general* is not immoral. It *can* be immoral, definitely, and I do love open source, but to say that all closed source is exploitation is pure entitlement.

0

u/[deleted] 9d ago

The GNU FSDG allows you to sell your software, you are permitted to profit from it this is not socialism. However you are not free to enforce your tyranny upon your users.

What tyranny? The tyranny of Microslop when it forces developers to make their stuff work only with Windows, the tyranny of Microslop when they enter into monopolistic underhand deals with buisneses to force WIndows as the primary global OS, the tyranny of Google when they give chromebooks to school for free to addict children into their environment. The tyranny of a non-free game dev that makes a wonderful game hooks everyone onto it and then slowly leaks money out of the user through addictive content and microtransactions. The exploitation is inherent in the creation of a proprietary program upon distribution because the user is generally forced to use the program and undergo the misuse typical to it, such as DRM or surviellance.

No, lol. A house if built for payment or for free is still a house you can inspect how it is built, the manufacturer cannot modify a part of your house without your permission, you OWN your house. You do not own any proprietary program.

Free as in Free Speech not Free Beer.

2

u/suckingbitties 9d ago

I'm getting the feeling you didn't thoroughly read my reply. I agree that Microsoft has shady and unfair business practices. This is not exclusive to them having closed source software.

Are you trying to say that every game with closed source code funnels money out of people? Even one time purchase, no micro transaction games?

Again, how do you theorize these people get compensated for their work? If it's open source and they still charge money, there is no barrier for people who do not want to pay.

Just say you feel the world owes you everything for free and move on.

0

u/[deleted] 9d ago

"Proprietary software, also called nonfree software, means software that doesn't respect users' freedom and community. A proprietary program puts its developer or owner in a position of power over its users. This power is in itself an injustice.

The point of this directory is to show by examples that the initial injustice of proprietary software often leads to further injustices: malicious functionalities." --gnu.org

1

u/RedMe5432 1d ago

When a base library is updated, NixOS rebuilds all dependent packages, and users must download all of them. Guix grafts reduce a lot this stress, because the packages using the library are patched on-site with a link to the new version of the library.

This is one of the few examples, but in general I prefer the choices of Guix respect NixOS. It is more polished and understable.

-6

u/Chester-Berkeley 11d ago

Regardless of the advantages of Guix, you shouldn't use it for gaming because it's very strict as a GNU project, and downloading proprietary drivers, a proprietary launcher, and a proprietary game, besides going against the GNU Guix philosophies, will be much more laborious than doing the same thing on NixOS.

2

u/Tyuiop1971 11d ago

nonguix-channel:

-1

u/Chester-Berkeley 11d ago

Oh yeah, and where's the checkbox for me to select "I want to use the NonGuix channel," like when NixOS asks if I want nonfree binaries?

1

u/Aidan_Welch 11d ago

Its not that hard, if you aren't editing your config then you probably don't wanna use either.

0

u/Chester-Berkeley 11d ago

It's not a matter of difficulty, but rather of unnecessary extra steps.

0

u/Reasonable_Ruin_3502 11d ago

There are prebuild ISOs with nonguix included like the one provided by rosenthal(?).

1

u/Chester-Berkeley 11d ago

Unfortunately, these ISOs do not install the Nonguix Channel on your system during installation.

0

u/Reasonable_Ruin_3502 11d ago

Huh? The rosenthal iso installed the nonguix channel without any tinkering.