Installing Guix as a Complete GNU/Linux System - System Crafters
Trying out Guix for the first time! Waiting for packages to download.
I'm a long time Arch user. Any tips?!
I've heard there aren't as many packages for Guix as other distros, but I was thinking Flatpak and distrobox will help bridge the gap for me.
like this
balsoft
in reply to paequ2 • • •Nonguix / nonguix · GitLab
GitLabpaequ2
in reply to balsoft • • •Yep. Totally using
nonguix
. I'm trying out Guix for the reproducibility and system management, not (just) for the FOSS software.From my initial research, I thought that Guix was only going to allow 100% FOSS software. But I've learned that's not the case. It's actually pretty easy to add additional channels in order to install non-FOSS software. The third-party channels integrate nicely!
I added
nonguix
and also a channel for Tailscale!HulkSmashBurgers
in reply to paequ2 • • •Panos Alevropoulos
in reply to HulkSmashBurgers • • •a Kendrick fan
in reply to Panos Alevropoulos • • •You have to setup a Nix service and do some symlink-ing
guix.gnu.org/manual/en/html_no…
Miscellaneous Services (GNU Guix Reference Manual)
guix.gnu.orgHulkSmashBurgers
in reply to Panos Alevropoulos • • •linuxPIPEpower
in reply to paequ2 • • •I've not used Guix but I don't think any distro has anything close to number of desirable available packages as arch--- so be prepared for that. My ventures into debian, suse and fedora were made quite annoying by having to work around the many missing packages. Including user-facing applications, dependencies and background programs. I never quite got down with distrobox, maybe that's the cure.
this chart on wikipedia gives the impression that Debian has more packages but that's not the way it feels when you are looking for something. Maybe they have a lot of dot matrix printer libraries from 1992 or something which bring the number up.
Arch includes a lot of not-at-all-free packages (which it is impossible to distinguish in pacman or other tool as far as I can find), orphaned, new packages that haven't yet made it into other repos, and packages where no attempt has been made to submit them to other repos.
On arch I have virtually never had to go outside the repos for packages. It's very hard to give up once you are used to it. (Even though it's better to use properly libre/free stuff and other benefits of a more curated approach like security, stability and quality.)
Wikimedia list article
Contributors to Wikimedia projects (Wikimedia Foundation, Inc.)lilith267
in reply to linuxPIPEpower • • •paequ2
in reply to lilith267 • • •YES! That's my plan! I think I just figured out how to configure
flakpak
a little better.These are only part of the steps needed: flatpak.org/setup/GNU%20Guix
You also need to source
~/.guix-profile/etc/profile.d/flatpak.sh
in order to get the desktop icons to show up in the GNOME app launcher. (Usingguix home
for that!)Need to work on getting distrobox setup next. I was able to
guix install distrobox
, but it requires some extra configuration apparently.Flatpak—the future of application distribution
Flatpakpaequ2
in reply to paequ2 • • •guix home
configuration file I used to add the contents offlatpak.sh
into my~/.profile
, in order to update theXDG_DATA_HOME
env var.balsoft
in reply to linuxPIPEpower • • •nixpkgs would like a word
solrize
in reply to paequ2 • • •paequ2
in reply to solrize • • •tasankovasara
in reply to paequ2 • • •I quit on day two with two takeaways:
– Hardware must be well supported in fully-libre-land - I was trying to install on a Mac Mini and had to go nonguix pretty much right away. That kind of spoiled the whole effort.
– Profound meditation and enlightenment on the essence of Scheme is a must. I had one of those 'no, this is where you don't want a closing brace' moments and my zen was blown out of the water.
I would have soldiered on, but personally I like Arch first and foremost because I can (and do) have a local repo by rsyncing a rotation of mirrors couple of times a week. Just in case the Internet dies one day, you know. I realised Guix was not really suitable for the apocalypse use case, so after that brace episode I decided to stick with what my spine already knows.
After all that is said – I really hope you fare better 😁
paequ2
in reply to tasankovasara • • •Yep, same here. I started with
nonguix
. I didn't realize it was easy to add additional channels.Aaaah. I juuuust had this happen to me. Took me a bit to balance the parens again! 😂 Although, so far Scheme seems nicer than Nixlang. I've also had curiosity to learn a functional language, so Guix gives me a reason to learn about functional programming.
a Kendrick fan
in reply to tasankovasara • • •Are these mirrors for prebuilt packages? If not, you should be able to pull from other channels, create your own channel and include all your packages while building them locally.
tasankovasara
in reply to a Kendrick fan • • •Ferk
in reply to tasankovasara • • •I've also wanted to try out Guix for a while.. part of the reason I'm leaving a comment is just so I can recheck these posts later 😛
But when I do I for sure will start out from nonguix because I'm quite confident that my hardware won't be supported (I even have a recently purchased Wifi 7 card that relies on
ath12k
module that I'm quite sure won't be in the official Guix repo.. maybe I'd even need to compile it myself..)I see in the nonguix readme that there's a way to generate an iso that includes already a nonguix kernel, so I'll have a look at that.
It even looks like you can create a writeable image to run from a USB thumbdrive, which looks very interesting, I gotta try that!
I've been burnt by Arch before which is what has got me into exploring other distros. I might ultimately end up again in Arch like you, who knows, but it looks like the way Guix works is well suited for hosting your own repo too.. I think I've seen before someone hosting their own Guix repo in github, including also a bunch of configuration for their system, which got me curious.
README.org · core-updates · Nonguix / nonguix · GitLab
GitLabmajster
in reply to paequ2 • • •paequ2
in reply to majster • • •Yeah! This is one of the features I'm most interested in. I haven't gotten to using this feature yet, but I was curious about it.
Let's say I'm working on a project that requires Go, Node, maybe some C library, and GNU Make. Seems like I would be able to use
guix shell
for this, right? Great.Now if a friend wanted to work on the project, could I share my
guix shell
configuration with him? (Assuming he's also a Guix user.)I'm currently using
distrobox.ini
plusdistrobox assemble
for this kind of workflow, but of course this isn't totally reproducible.a Kendrick fan
in reply to paequ2 • • •Iirc guix shell is for one off package or programs you want to test, say you want to quickly format a drive to exfat or so, when you exit the sub-shell, the installed packages are discarded
guix shell containers would work best for your scenario but I have little experience with them
a Kendrick fan
in reply to paequ2 • • •majster
in reply to paequ2 • • •paequ2
in reply to majster • • •Aaaah: guix.gnu.org/manual/devel/en/h…
Heck yeah!
Writing Manifests (GNU Guix Reference Manual)
guix.gnu.orgmajster
in reply to paequ2 • • •paequ2
in reply to paequ2 • • •Btw, here's how you install distrobox on Guix.
First, install rootless Podman: guix.gnu.org/manual/devel/en/h…
You need to edit your
/etc/config.scm
or where ever you store your system config. Import the right modules/services, add your user tocgroup
, addiptables-service-type
to yourservices
, addrootless-podman-service-type
and configure it.Then of course you run
guix system reconfigure /etc/config.scm
.Now you can do a simple
guix install distrobox
. If you installdistrobox
first, you don't end up using rootless podman and you run into more problems that way. (You have to usedistrobox --root
.)After that command, everything should work like normal. Enjoy. 🍻
Miscellaneous Services (GNU Guix Reference Manual)
guix.gnu.orgpaequ2
in reply to paequ2 • • •Btw, here's how you configure HiDPI for GNOME. Unfortunately, my laptop has a hydeepeeay display, so it's not fully compatible with Linux. (It's 3840x2160, so at least 2x scaling is possible, hypothetically.)
Commands from the Arch Wiki, but also adds cursor scaling:
The default GNOME configuration is some how missing that. I didn't have to do that in Arch, but I do in Guix. IDK. Anyway, if you don't run those commands certain apps will be tiny, including a tiny mouse cursor.
HiDPI - ArchWiki
wiki.archlinux.orgprojectmoon
in reply to paequ2 • • •Re: Installing Guix as a Complete GNU/Linux System - System Crafters
paequ2
in reply to projectmoon • • •Do you find that Elisp and Scheme are too different? I don't know either, so they look almost the same to me.