this post was submitted on 07 Jul 2025
6 points (100.0% liked)

Guix and GuixSD

178 readers
1 users here now

Community for all Guix and GuixSD users

founded 2 years ago
MODERATORS
 

cross-posted from: https://lemmy.today/post/33048676

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.

top 3 comments
sorted by: hot top controversial new old
[–] Octorine@midwest.social 2 points 1 week ago (1 children)

If you set up the nonguix channel you need to add the nonguix substitutes, or else it will compile whatever nonguix packages you're using from source, including the kernel, which will take forever.

Also, the nonguix substitutes server is currently down for ipv4 users but someone has set up a mirror at nonguix-proxy.ditigal.xyz, so you can use that instead.

[–] paequ2@lemmy.today 1 points 1 week ago* (last edited 1 week ago) (1 children)

If you set up the nonguix channel you need to add the nonguix substitutes

Oh my—AH! YES! I haven't done that! No wonder why installing makes my laptop go burr.

Uh, how do I do that?

Update:

Oh, wait. I see a missed a bunch of info on the nonguix readme: https://gitlab.com/nonguix/nonguix

Also, the manual about substitutes: https://guix.gnu.org/manual/en/html_node/Substitutes.html

Thanks for pointing this out!

[–] paequ2@lemmy.today 1 points 7 hours ago

Just in case it helps anyone, here's what my service block looks like:

  (services
    (let ((custom-services (list (service gnome-desktop-service-type)
			         (service bluetooth-service-type)
			         (service cups-service-type)
			         (service tailscale-service-type)
				 (set-xorg-configuration
				   (xorg-configuration
				     (keyboard-layout keyboard-layout)))))
	  (nonguix-url "https://substitutes.nonguix.org/")
	  (nonguix-key "(public-key (ecc (curve Ed25519) (q #C1FD53E5D4CE971933EC50C9F307AE2171A2D3B52C804642A7A35F84F3A4EA98#)))"))
      (modify-services
	(append custom-services 
		%desktop-services)
	(guix-service-type config =>
			   (guix-configuration
			     (inherit config)
			     (substitute-urls
			       (append (list nonguix-url) 
				       %default-substitute-urls))
			     (authorized-keys
			       (append (list (plain-file "nonguix.pub"
							 nonguix-key))
				       %default-authorized-guix-keys)))))))