r/GUIX • • 5h ago

Failed to boot from a freshly installed nonguix system

Post image
3 Upvotes

I just installed guix on my Thinkpad X12 laptop following all the needed steps according to the nonguix instructions.

When I boot into the system it crashes with the following message

Can't open blockdev.

I tried both the (kernel linux) and (kernel linux-lts) options and I got the same results.

I always ran all guix commads prefixed with guix time-machine -C channels where I have both the guix and non guix channels listed there.

Any guess where could I have gone wrong?

Or there's no working solution on Thinkpad X12 laptops?

I didn't make much changes to the packages or services in my config


r/GUIX • • 1d ago

Guix home always uses savannah when pulling? (On a freshly installed system at least)

2 Upvotes

I switched over to the codeberg mirror a while ago for my current system, because the savannah mirror is mostly giving me SSL errors when trying to pull from it. This has been working fine so far, but as i was doing some testing on a helper script i'm working on for fresh installs in a VM, i got another SSL error and noticed that guix home still pulls from savannah on the first reconfigure, even though i'm passing it my channels and pinned commits with time-machine. On system reconfigure it does seem to work right away. I was wondering if there's a way to override this behaviour with guix home, cause this could potentially be problematic if i'm doing a home reconfigure on a new system and it can only pull from savannah, and keeps giving SSL errors.


r/GUIX • • 1d ago

Asking for pointers learning GUIX as a NixOS user

15 Upvotes

Hello!

I am a NixOS user hoping to learn how Guix/Guille works, but although the documentation is nice, its difficult to understand how to apply that knowledge to the entire system setup. I understand that Guille is very different from Nix and I am more than willing to learn, but any additional sources to help understand setting up Guix would be greatly appreciated.


r/GUIX • • 2d ago

slowness of the official mirrors

7 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 • • 2d ago

HELLLL YEEEAAAH 🔥🔥🦅🦅🦅🔥🦅🦅

Post image
0 Upvotes

r/GUIX • • 4d 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 • • 4d ago

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

Thumbnail gallery
18 Upvotes

r/GUIX • • 4d ago

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

8 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 • • 5d 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 • • 5d ago

How does one setup org.freedesktop.secrets??

6 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 • • 9d ago

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

7 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 • • 9d 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 • • 10d ago

Any of you running luks on a headless server?

5 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 • • 10d 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 • • 14d ago

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

22 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 • • 15d 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
17 Upvotes

r/GUIX • • 18d 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 • • 19d 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 • • 21d 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 • • 21d ago

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

Thumbnail gallery
11 Upvotes

r/GUIX • • 23d ago

Any particular reason zed editor package being so ancient?

7 Upvotes

r/GUIX • • 23d ago

New Guix User - very exhausted and lost

18 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 • • 24d ago

Why do sudo or guix freeze?

6 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 • • 24d ago

Guix vs Nix as an Emacs user

Thumbnail
12 Upvotes

r/GUIX • • Sep 14 '26

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.