r/GUIX • • 7h ago

slowness of the official mirrors

3 Upvotes

Hi everyone, I tried using Guix a while back, but my attempt was thwarted by the server situation—I'm in Brazil, so during installation, Guix would trigger long compilation processes due to the slowness of the mirrors in the US and Bordeaux. Is there a solution for this?


r/GUIX • • 8h ago

HELLLL YEEEAAAH 🔥🔥🦅🦅🦅🔥🦅🦅

Post image
0 Upvotes

r/GUIX • • 1d ago

NONGUİX BUT İTS STİLL GUİX.

Thumbnail gallery
12 Upvotes

r/GUIX • • 1d ago

Cannot install Guix System in Russia: substitute mirrors appear to be blocked. Any workarounds?

6 Upvotes

Hello, dear r/GUIX community. I am from Russia and have run into an unexpected problem: installing Guix has turned out to be impossible here, as all mirrors for downloading packages after installing from a flash drive are blocked. Has anyone encountered a similar problem, or is anyone knowledgeable enough to know a solution? I want to use free software rather than a distribution with proprietary components included. Thanks in advance.


r/GUIX • • 1d ago

Guix VM crashes at random when installing bootloader during reconfigure, can't reboot VM after.

1 Upvotes

Update: So i just tried doing a bios install instead of uefi and have done a few reconfigures so far to test it, but so far so good. I'm guessing Guix for some reason doesn't play nice with uefi installs when inside a vm? Either that or something else in my vm configuration is conflicting with it being uefi, no clue, but i guess at least i can now keep testing my script with a bios install.

Original post: was wondering if anyone else had this issue. Basically i was trying to test a helper script i made that makes it a bit easier to do my initial reconfigure after a clean install with the official ISO, so things like installing the nonguix signing key, invoking reconfigure with the nonguix substitution urls, stuff like that, since they're lengthy commands to remember. the weird thing is i know the actual configurations for my system are fine, cause they work on bare metal and are tested for errors, but in the VM, when it gets to the installing bootloader phase, it craps out and the VM shuts itself down, and restarting it won't work cause the bootloader is broken at that point. This has never happened to me on bare metal and i'm not sure what's causing this. At first i thought certain parts in my configuration weren't working well with the vm, cause after removing a service all of a sudden the reconfigure would work, but now it seems like that has nothing to do with it, and it just happens at random. After sitting through a reconfigure and keeping my eyes on it, it fails when it is installing the bootloader. My bootloader configuration is the same as on bare metal, and my vm is using uefi, so i have no clue what the issue is here.


r/GUIX • • 2d ago

VLAN breaks networking service

2 Upvotes

New GUIX user looking for advice, assistance.

I came up with the following static network config to assign a tagged VLAN to the interface:

(service static-networking-service-type
         (list (static-networking
                (links
                 (list (network-link
                        (name "enp191s0.50")
                        (type 'vlan)
                        (arguments '((id . 50)
                                     (link . "enp191s0"))))))
                (addresses
                 (list (network-address
                        (device "enp191s0")
                        (value "192.168.199.10/24"))
                       (network-address
                        (device "enp191s0")
                        (value "fd00:1:99::10/64"))
                       (network-address
                        (device "enp191s0.50")
                        (value "192.168.150.10/24"))))
                (routes
                 (list (network-route
                        (destination "default")
                        (device "enp191s0")
                        (gateway "192.168.199.254"))))
                (name-servers '("192.168.199.254")))))

However the networking service (set-up-network) fails with the following error during boot:

Backtrace:
           1 (primitive-load "/gnu/store/37dvbf5a6zvfn64v4pfiwqisyxr?")
In ice-9/eval.scm:
    619:8  0 (_ #f)

ice-9/eval.scm:619:8: ERROR:
  1. &netlink-response-error: 17

The VLAN interface exists, but both the primary interface and the tagged are in DOWN state.

Any advice is greatly appreciated.


r/GUIX • • 3d ago

How does one setup org.freedesktop.secrets??

5 Upvotes

I am afraid I have to apologize in advance for my frustration, but I have been trying to get KWallet (and even gnome-keyring) to work without %desktop-services and I cannot seem to do it...

I switched to SDDM+hyprland and figured I could rewrite my smaller version of %desktop-services. I moved all of the stuff, excluding gnome and gdm. Later I added (service gnome-keyring-service-type) and rebooted, but to my surprise, I now know I cannot unlock my secrets... I figured let's try KWallet, same issue.

I uave asked for help on both irc and tg, and no one answered. I figured this may be a very nieche issue that no one prior to me has experienced, hence why I am asking here.

EDIT:

So here is a very strange update. I happened to be curious enough to try mango, and with the same settings it seems to work just as expected... I am confused to why hyprland was not able to function as expected.

I may debug this in the future, but until then I ought to continue fixing my config. :)

Sorry for the confusion everyone.


r/GUIX • • 7d ago

Anyone here happen to use emacs-daemon as a shepherd service combined with ssh-agent?

6 Upvotes

Update: okay so this was in fact an Emacs issue after all, specifically with Magit. I posted the solution in the post on the emacs subreddit that i linked down below.

I posted about this issue in the Emacs subreddit earlier, but quickly realized this is an issue with my shepherd service. The problem is when i start the Emacs daemon as a shepherd service, ssh keys won't get added to the agent when i use them in Magit.

The weird thing is that SSH_AUTH_SOCK is set correctly according to Emacs. I found out though that when i set the variable again with setenv inside of Emacs, it starts working correctly, even though the variable was already set correctly before. I feel like this is some weirdness with how shepherd handles the environment (i really like Guix, but man the way shepherd deals. or rather not deals with environment variables drives me up the walls lol). I thought i was smart by adding an emacs-startup-hook in my init.el that sets the variable again after Emacs has started (the socket path is hardcoded anyway by the ssh-agent service), but that didn't work either. With that hook it only works if i restart the emacs-daemon service with herd restart.

Adding the variable to the actual daemon service basically breaks all the other environment variables that emacs used to pick up on automatically for some reason, and i have to add things like EMACSLOADPATH and such to the service as well, and my emacsclient commands can't find the emacs socket anymore. It just doesn't feel like it's worth the effort of going down that road. So has anyone else gotten this to work correctly? I tried to find similar setups online but so far i haven't found any.


r/GUIX • • 7d ago

how to use guix inside of a ldap environment

2 Upvotes

I would like to resister my guix devices to a freeipa server and use all of the freeipa freatures with gnu guix. Is there any information about this / good start points?


r/GUIX • • 7d ago

Very, very slow reconfigure times

10 Upvotes

Hi all, recently installed Guix and am slowly building an understanding of the system (coming from Nix/OS) and I am liking how Guix works over Nix.

However, one issue is how long it takes to reconfigure the system even if just adding a single package. I have channels configured with substitutes for all (guix and nonguix) and they are being used, it's rare I actually try to build a package from source (other than profile, install-bootloader, etc). Instead, it appears to update the channels 4 or 5 times per reconfigure, I see "Updating channels [guix|nonguix]" and "Computing derivation x86_64-linux" 4 or 5 times every time I do a reconfigure, and it is glacially slow.

My channels are set up system wide with guix-for-channels, not pinned to a specific commit. I feel like I must be doing something wrong, but I cannot figure out what. Thanks so much for any help!!


r/GUIX • • 7d ago

Any of you running luks on a headless server?

6 Upvotes

Reason i'm asking is i've never used luks before, but since Guix makes it so easy to set up i'm considering adding luks encryption to my systems when i do a clean install. From my understanding though, unlocking the drive can be problematic on a headless server because there's no ssh service available yet when the password has to be inserted. I've heard of people using Dropbear, and Guix has a service for it, but looking at the code i don't think they configure it in such a way that dropbear is started as a part of the initramfs. So i was wondering how other people who use Guix specifically solve this (or maybe you don't encrypt servers at all?)


r/GUIX • • 11d ago

Questions about the Guix system and Non-free Software going forward

23 Upvotes

Hey everyone, I’m a huge fan of Guix. It just blows everything away. I love guile and the improvements over NixOS features.

My question is what does Guix look like for people that know they will use and have to use a lot of Non-free software? I know about the non-guix channels, flatpak, and that you can build things from GitHub but I guess I’m just wondering if it’s somewhere I should end up if I know I’m gonna use a lot of non-free stuff. Is development pretty active for Non-free software/packages on Guix? I just love the system so much I’d like to get more educated to make it work.

Thanks


r/GUIX • • 12d ago

No nonsense project management: Lucidplan v1.6.7 ✨ - powered by Lisp: now with native drag and drop in Backlog and Kanban - FLOSS Trello/Jira style software that is fast and easy to learn, self-host and privacy friendly

Post image
19 Upvotes

r/GUIX • • 16d ago

Does Guix not have an equivalent to NixOS' rebuild boot?

17 Upvotes

I've been using Guix for like 6 months now but i haven't found anything similar in the documentation, so i figured i'd ask to make sure i haven't overlooked it. For those who haven't used NixOS before, running `nixos rebuild boot` builds the system configuration and adds a boot entry to grub, but it doesn't switch over to the new generation. I've always found it convenient when i'm making bigger changes to my configuration or maybe testing a configuration meant for a different machine. I recently decided to test the config i was working on for my server by just running reconfigure on my desktop, but it ripped me out of my graphical session lol. With something like `nixos rebuild boot`, my current system would stay intact and i could boot into it later when i'm ready.


r/GUIX • • 16d ago

Naming conversations for local definitions?

3 Upvotes

As title mentions. What is the naming convention around local defined stuff? I have seen people use both `my-` and `%`. But I am not sure what to use.


r/GUIX • • 18d ago

Parsing Org mode with Parsing Expression Grammars in Guile Scheme (ice-9 peg) and converting to HTML (via SXML): OrgWebAlchemy

Thumbnail gallery
12 Upvotes

r/GUIX • • 18d ago

How to update mimeapps.list

1 Upvotes

I've been trying to change the application used by xdg-open for pdfs with both xdg-mime and mimeopen. But none of them work


r/GUIX • • 20d ago

Any particular reason zed editor package being so ancient?

9 Upvotes

r/GUIX • • 21d ago

New Guix User - very exhausted and lost

17 Upvotes

I wanted a declarative distro, that didn't bind me to SystemD. So I decided to try Guix System.

my goal is to have a system that uses xmonad, and any display manager with tab navigation that isn't GDM (I don't know how to configure GDM and I find it has broken on me after updates in the past).

I have tried installing Guix following tony btw's video. His video steps do not seem to result in a working system.

so instead I use the graphical installer. I install Sway just to start. I get to a working desktop. However, it uses GDM , and I can't seem to remove it because I need %desktop-services to help me get a working desktop.

But worse than that, after my first guix pull, and guix system reconfigure, my system will no longer reach the login screen (instead reaching the terminal login screen before freezing).

I re-install Guix System, this time using the graphical installer but not selecting any desktops.

Using this tty-only graphical installed system: I can successfully update my system with guix pull, and guix system reconfigure. But when I try to add lightdm-service-type, the reconfigure command gives me the compile error "lightdm-service-type: unbound variable".

When I search Guix search lightdm, it says its under packages and display-managers. So I add display-managers to my use-package-modules. And to be safe, add lightdm to my packages list. This does not affect the error sadly.

an additional issue I am having. When I run guix system reconfigure, without sudo, I get an error regarding not having symlink permission.

What's really pissing my off if I'm trying to follow the Guix documentation and it's just sending me around in circles without answering my immediate questions. I'll read a page, get to a section that says "read X for more information about display-managers". And then end up on a page that lists display managers, but doesnt tell me how to include them in my config.scm file.

It feels like the documentation does not apply to Guix System, only to Guix, and when I follow the steps it gives me I am missing pieces.

TLDR;

I can only install a desktop using %desktop-services but then any guix pull and reconfigure will brick that setup, so I can't update.

And trying to configure my own desktop seems to lack the necessary imports.

Any help is appreciated but frankly Im just really pissed off and wanted to vent


r/GUIX • • 22d ago

Why do sudo or guix freeze?

8 Upvotes

I've had a problem for a while now. For some reason, sometimes `sudo` or `guix` (`guix install`, `guix reconfigure`) freeze on my PC. I don't understand why. Everything works again once I restart my PC. I've tried some kernel configurations, but nothing has worked. Does anyone know why this is happening? For what it's worth, my PC is a Vaio XVPC EJ with 4GB of RAM.


r/GUIX • • 22d ago

Guix vs Nix as an Emacs user

Thumbnail
13 Upvotes

r/GUIX • • 28d ago

Could someone help me switch to Nonguix?

12 Upvotes

Hi, I've been trying out Guix on my old PC and I love it. I wanted to try it on my modern PC, but it won't let me because of internet issues. I love Guix, but I want to have it on my modern PC, and I don't know how to switch to NonGuix. I mean, I don't know how to add the necessary channel. Could someone help me? I would really appreciate it.


r/GUIX • • Sep 13 '26

first day using GUIX!

27 Upvotes

i just finished my first GUIX install. used i3 because I like tiling WM and x11.

I was previously using nixOS, but started to go down the rabbit hole of "i wonder how much i actually relly on proprietary software".

notes so far :

my wifi card doesnt work with linux libre. but i dont really mind because i spend most my day near my router and have an ethernet cable. i also dont need constant internet connection.

the only peice of software i really had to switch out was firefox, because it doesnt follow all of GNUs stuff with it advertising proprietary plugins. i find that reason annoying but, have been meaning to try ungoogled-chromium recently. also tried icecat because the concept sounded novel.

it was really easy to install for something that gives benifits simmilar to nixOS. hardest part was getting used to GUIXs partioning tool, because im used to fdisk. but it wasnt too bad

the whole having unpriviliged package management based on the user thing is a really intresting concept, im the only one using this computer though.

i can still do everything i use this computer for (which is. work on my hobby of making FOSS games with godot, web-browsing, gimp (which is for making the art for the games) and general, computer things, like checking my email. being on reddit, ect.

i learned i rely on, suprisngly little proprietary software, and learned this distro isnt just. nixOS with opinions.


r/GUIX • • Sep 12 '26

GNUcell forever

Post image
181 Upvotes

r/GUIX • • Sep 12 '26

Is there a way to automate -git package definitions for personal packages?

11 Upvotes

Hi everyone,

I've managed to install Guix System and have been using it for a few days now and I'm gradually moving all my personal packages from my previous CachyOS setup to a fully declarative setup (`home.scm` + `system.scm`). One thing I keep running into is the workflow for packages that track upstream git repositories from AUR or from projects I contribute.

Right now, every time I want to update one of these packages, I have to manually:

  1. Bump the `commit` or `revision` field

  2. Recompute the `base32` hash with `guix hash`

  3. Edit the package definition

  4. Reconfigure

What I'm wondering is there an idiomatic way in Guix to automate this?

Where the hash is computed automatically at build time, or at least where I can run a single command to regenerate the hash and update the definition. I know about `--with-latest`and `--source`, but I want an automated declarative approach in scheme language level.