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.

you are viewing a single comment's thread
view the rest of the comments
[–] 2 points 1 year ago (2 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.

  • source
  • hideshow 2 child comments
  • [–] [S] 1 point 1 year ago* (1 child)

    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!

  • source
  • parent
  • hideshow 1 child comment
  • [–] [S] 1 point 1 year 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)))))))
    
  • source
  • parent