IRC channel logs

2026-06-26.log

back to list of logs

<csantosb>Morning Guix ! Any idea about this message in repology ? https://repology.org/repository/gnuguix
<csantosb>I mean, the "subject to removal in the near future unless the problem is resolved"
<futurile>mornign all
<futurile>or even morning - hope you're Friday's going well!
<jlicht>hey guix
<futurile>heya jlicht
<cluelessguixer>Updated my Guix system and rebuilt my system container, but it seems the WireGuard service can't run inside that container anymore. I guess my setup is outdated: https://bpa.st/YLJA
<dariqq>Ive been playing with gnustep and appearently there is an emacs backend for it. The more shocking thing is that it works with my gnustep packages and I get a window and it works
<bascht>o/ hey around. I do have a question re %desktop-services. I'm running niri via `guix home` - so all my graphical desktop needs are covered and I get to a graphical desktop just by logging in via the tty. I don't need gdm, but %base-services is too bare bones. Is there anything in between? :D
<dariqq>take a look what %desktop-services add to %base-services and add what you want https://codeberg.org/guix/guix/src/branch/master/gnu/services/desktop.scm#L2667
<cluelessguixer>Trying to run wg-quick manually, there appeared to be a line about resolv.conf signature mismatch or something. Anyway, the WireGuard configuration inside the system container works again by neglecting the DNS line for the WireGuard config.
<bascht>hmmm, I would guess that need "everything, but GDM"
<Sneed1911>bascht: If you don't want gdm, you could remove it in your config.scm. I've screwed around with this kind of stuff and IIRC I had booting issues removing gdm without installing a different login manager. Slim has been extremely buggy for me, gdm is the only one out of the box that will unlock gnome-keyring on login, so I just stick with that.
<bjc>is it gdm that pulls in gnome keyring against my wishes?
<bjc>i need to try sddm i guess
<sham1>IIRC gdm does require gnome-keyring in some way or capacity, or maybe it's a transitive dependency. Either way, yeah, you'll need something else
<bjc>we've got a ‘keyring’ option on ‘gnome-desktop-configuration’, but it does nothing
<bjc>i should probably create a bug report =)
<bascht>For me it's the other way around. :D Starting niri via gdm feels buggy and sometimes the whole screen locks up. I don't really need a greeter or desktop manager since I start everything via my users shepherd.
<bascht>Update: https://www.reddit.com/r/GUIX/comments/1svha4u/comment/oi9aysg/ does the trick \o/
<Sneed1911>Glad it's working, I was having issues launching spectrwm from gdm so it could be wm specific. dbus/secrets/gnome-keyring is and area I just haven't been able to wrap my brain around, not to mention that there can be conflicting ssh/gpg agents also tied to gnome-desktop, which is unfortunately why the easiest fix is often using password-less gnome-keyring/gpg/ssh keys which defeats the whole point.
<Sneed1911> That being said until I understand more of what is going on the easy fix was installing xinit-xsession system-wide which launches dwm (installed in my user path, no system path) without issue from ~/.xinitrc under gdm, and using gpg-agent as my ssh-agent. Gnome-keyring, gpg key, and ssh key now unlock on login. I have not been able to replicate this from startx or any other login manager. It's something I can live with considering the
<Sneed1911>other benefits of guix.
<untrusem>I use keepassxc and my keyring
<Sneed1911>Correction, on guix it is xinitrc-session but under the AUR it is xinit-xsession.
<Sneed1911>untrusem: thanks, I'll give that a try.
<untrusem>its a offline password manager
<untrusem>comes with the service
<Sneed1911>Yeah I've heard of it, just never used it and didn't know it could be a keyring substitute.
<Berkeley>Hello
<ieure>Hi.
<Berkeley>Recently i do my first donation to the Guix Foundation.
<ieure>Neat!
<Berkeley>Anyone here interested in Information Security?
<Berkeley>Check this out: https://git.securityops.co/cristiancmoises/securityops-channel
<untrusem>berkeley I checked your site a long back but now most of the things seems to be llm generated
<Berkeley>untrusem thank you
<vermiculous>Hello, I'm going from Gentoo and, most recently, FreeBSD over to GNU Guix. I've followed the SystemCrafters video tutorial and read up on a few other tutorials but I'm still having some issues getting an Xorg session up and running. I removed the %desktop-services variable from my config.scm so I can have a more granular config (boot into a TTY and then into EXWM using startx). Here are my config files. I appreciate any assistance. And
<vermiculous>please note that I am currently on Emacs in a terminal so I will be logging in from a separate device with a similar username so I can still receive messages and type while I test the settings.
<untrusem>umm where are your files?
<untrusem> https://bpa.st
<untrusem>here is a pastebin
<vermiculous> https://bpa.st/SQLA
<Berkeley>I work alone, and yes, I use some llms to help me build readme's files and check for vulnerabilities.
<Berkeley>I believe that using ai is very helpful.
<Berkeley>Of course, you can’t rely on it 100%, but it definitely enhances the work. While some people use ai to generate images and memes, others are using it to improve code and make it more secure.
<Berkeley>Cutting grass with a sickle can be very time-consuming, which is why the lawnmower was invented. The worker still uses it; he’s the one pushing the mower.
<ieure>Berkeley, We're not going to debate this here.
<Berkeley>Okay
<Berkeley>i'm building a custom Gnu Guix live image with custom kernel and option to choose between Sway or Xmonad(Xlibre)
<ieure>vermiculous, You're better off using %desktop-services, if you don't, you're going to go through many cycles of "why is X broken?" and the answer will always be "because I removed the service." And then you end up with effectively %desktop-services, but your fragile weird version.
<untrusem>yep, after you get accustomed to guix you can use %base-services
<ieure>vermiculous, You're much better off using (modify-services %desktop-services ...) and removing things you are already certain that you don't need or want.
<ieure>I personally just use %desktop-services on desktop-type machines. It's fine.
<ieure>Saves a lot of hassle.
<untrusem>by the way ieure, we are good to merge the librewolf pr
<vermiculous>Ah, that makes sense. I just didn't want the GDM login screen.
<untrusem>let me find a snippet for that
<vermiculous>%desktop-services seemed to pull that in but I will use modifyservices
<ieure>Yes, %desktop-services pulls in either GDM or SDDM by default, depending on the system architecture.
<ieure>I believe GDM has some Rust dependencies which aren't available for all architectures.
<untrusem>append this to your services block
<untrusem> https://bpa.st/EIJA
<vermiculous>Once I can get an X session up and running, it will be much easier to read the documentation. Doing so in eww isn't very fun. Is there a way to evaluate %desktop-services so I can see what it contains (in order to see what I want to remove)?
<ieure>vermiculous, Yes, it's defined in gnu/services/desktop.scm. There's a local checkout of the Guix code in ~/.cache/guix/checkouts/
<vermiculous>Whoa, that's a lot of packages. :)
<vermiculous>Okay, I'm going to add back %desktop-services and see if I can start X. Then I'll just go from there.
<ieure>vermiculous, Are you intending to use `startx' for thsi?
<ieure>*this
<ieure>If so, you need some stuff to make that work.
<vermiculous>That's what I had planned to use, yes.
<ieure>vermiculous, You will have to add a startx-command-service-type to your system configuration for that to work.
<vermiculous>I had something like that in my home config. I need it in my system config as well?
<vermiculous>Or only in my system config?
<untrusem>if it will start your system, then system config :p
<ieure>vermiculous, I think it needs to be in your system config and not home config. I'm not sure why there is a home config thing for that or how it would work.
<ieure>Someone who actually uses that stuff probably knows better. I personally don't like having to log in and type another command to get a graphical session.
<untrusem>Ruther use that, but they are on a break
<Rutherther>using startx command in home config only is perfectly fine
<Rutherther>Xorg doesn't need the system. The startx command just gives you the proper config, so that xorg finds the modules under /gnu/store
<untrusem>lol they appeared
<vermiculous>I was thinking Xorg isn't starting my actual system, just my user's X session. But I'm new to all of this so I just want to be sure.
<Rutherther>vermiculous: just make sure you don't have xinit installed in home or through guix install, if you did, you would be using startx from that package and not from the startx command service
<trev>feedback welcome: https://trevs.site/this-week-in-guix/posts/2026-06-26.html
<untrusem>ayo, nice one trev
<vermiculous2>Okay, I'm testing now so I'll respond from this second account for a moment.
<trev>untrusem: thanks
<untrusem>the one year with codeberg also was discussed on lobsters, you could add that
<untrusem>can we submit things via email, I don't use github if i don't have to
<vermiculous2>Okay, I ran into the same problem that I did last time I used GDM. Once I attempt to login it opens GDM back up and says, "authentication failed" and I can no longer use my keyboard. I didn't modify the %desktop-services because I wanted to see if it would work now that I had the everything else, assumingly, setup.
<trev>untrusem: i don't want to use my personal email and i was having trouble with my domain's so not right now
<trev>untrusem: not right now. was having trouble with my domain's email service
<vermiculous2>And, unfortunately, I can't switch TTYs in this state. Last time, I had to boot from a LiveUSB, edit the system config, and build it from there.
<Rutherther>vermiculous2: in your last config I do not see any wm. I am not really sure GDM can support having no WM and logging in just with .xsession in your home
<Rutherther>is this a setup you've tried before (even on non-guix system) and it worked?
<Rutherther>is there a reason you don't either add exwm service and use that one instead of the .xsession or try startx from a tty?
<vermiculous2>I thought I had exwm using emacs-exwm in the config? I can't access it right now until I remove GDM.
<vermiculous2>Let me chroot in and fix that and I will check.
<Rutherther>vermiculous2: ah I missed that, you have emacs exwm in your system config which should be all you need indeed. and have you tried logging it in without that .xsession?
<vermiculous2>I might as well ask now: does anyone know why the traditional ctrl + alt + function keys don't switch TTYs? When not in the GDM lockout but rather a TTY using my previous "weird fragile config", it seems to be bound to Super + <- and ->
<vermiculous2>I haven't tried without .xsession. I will try that as well.
<Rutherther>vermiculous2: looking into what the guix system installer gives you when you select Emacs EXWM, it also adds emacs-desktop-environment, you seem to not have that. However I am not sure what it's for
<ieure>vermiculous2, Ctrl-Alt-F1 etc switch VTs for me.
<ieure>Rutherther, It's useless.
<ieure>It's an Emacs package that lets you control the screen brightness and volume and stuff.
<ieure>Doesn't work very well in my experience.
<Rutherther>vermiculous2: stupid question, are you sure your keyboard does not need you to press Fn when pressing F keys so they actually produce an F key and not something else?
<vermiculous2>Yeah, and I have already written custom Elisp functions for my system so I removed it. I've tried two keyboards and neither will switch TTYs; not even in the Guix installer. Maybe I have weird keyboards with odd internal bindings... I'm not sure.
<vermiculous2>Rutherther I've tried using Fn and all combinations of Fn, Alt, and Ctrl. I've done some painful finger gymnastics trying to get something to work.
<ieure>vermiculous2, Super and arrows are as far as I know just a different VT switching mechanism built into the Linux kernel.
<ieure>Yeah. Both work fine for me.
<vermiculous2>Even that doesn't work when GDM locks me out and, as I said, in the installer. It's rather annoying because I sure could use a TTY to rebuild this config instead of having to use a Ubuntu LiveUSB to chroot in. 😒
<ieure>vermiculous2, Are you using a US keyboard layout?
<vermiculous2>I am.
<ieure>vermiculous2, If you use xev to look at keycodes, do you see a F1 keycode when you press F1?
<vermiculous2>Inside of this Ubuntu live environment, it was showing the XF functions and even when pressing Fn, F1 wouldn't appeared. My keyboard has a Mac and Win switched so I flipped it to Mac. Now Fn + F1 shows F1 properly. Even so, I tried this in the Guix installer and I still couldn't switch TTYs. I'm not sure if that's because a different kernel driver
<vermiculous2>is loaded for the different modes or what.
<vermiculous2>Once I get back in, I'll see if I can switch TTYs in the actual Guix system.
<ieure>The Mac/Win switches typically just swap the alt/super keys.
<ieure>Kernel drivers shouldn't matter for this, it's all USB HID stuff that's been standardized for decades.
<Rutherther>vermiculous2: in the guix system installer after you choose your region you can choose the option to "Install using the shell based process" to switch to a different tty where you will have a shell. Just noting that you do not need to go through an ubuntu liveiso, you can use the guix system installer
<vermiculous2>Yeah, that's weird because my Alt / Win keys have the respective system logo on them which I assuming is the switch you're referring to. Very strange!
<vermiculous2>I'm assuming *
<vermiculous2>Rutherther, Thank you, that's good to know! I installed a "bloated" live environment just to import and decrypt some ZFS files. I had a hell of a time trying to get it to work in Guix and I didn't plan to use ZFS after leaving FreeBSD so it was just the least painful way.
<ieure>Lots of good stuff about Guix, but its ZFS support isn't one of them.
<untrusem>doesn't hako made some changes to it
<ieure>I don't think those merged.
<untrusem>check the librewolf pr btw
<ieure>untrusem, Thanks, will get to it when I'm off work.
<untrusem>irc'ing on work time :P
<ieure>untrusem, There's a PR sitting around with some claimed locale fixes, I took a look but don't really understand what it's doing yet.
<ieure>Always.
<theesm>g'day guix o/
<untrusem>hi theesm
<untrusem>I commented on the reka pr btw
<theesm>untrusem: saw your comment just now, i'll add a comment on what i did to setup and test reka (hopefully) this weekend
<Sneed1911>vermiculous2: I was unable to get gdm to read/execute an xsession file, it would just freeze up like you said. I'm able to run dwm from xinitrc with gdm using the 'xinitrc-xsession' package, not hard to create on your own but it's convenient. Maybe try that just to get up and running
<vermiculous2>Sorry for the late reply. I have to return to this later but I appreciate the help thus far!
<atw>I've got a kinda open-ended question... if I have a printer on my local network and I wanna print a PDF from icecat, is there a package I can install to make the "system [print] dialog" be able to find my networked printer?
<atw>naturally, these are my just desserts for using stumpwm instead of GNOME, so if this isn't easy I understand. I do have a workaround but involves my nonfree phone
<Rutherther>atw: I've got open-ended answer - I think that if you use cups service with the web interface enabled, you should be able to find and configure the printer there (provided that you add cups extensions that are necessary for your printer. Then you should see it in the system printer dialog (but I don't think it detects automatically if it's on network, you will just see it always). And by open-ended answer I mean that I am not sure about most of this:)
<Sneed1911>atw: normally this would be handled by avahi and cups, I have not looked into it on guix. If avahi is installed and your printer communicates over whatever protocols avahi uses, then it will show up in cups and your print dialog automatically. If not you'll need to install the firmware manually and add the printer to cups
<atw>gotcha, thanks both!
<Sneed1911>Depending on the printer there are generic firmware packages that work with a wide variety of models within the same printer make
<Sneed1911>mDNS is what I was looking for: https://guix.gnu.org/manual/devel/en/html_node/Networking-Services.html#index-avahi_002dservice_002dtype
<sham1>I'm trying to batch process some files with emacs for a custom home service thing. How could I invoke emacs in the relevant g-expression such that it uses the package list provided for its load-path? Do I make it into a manifest and then use that somehow when doing the processing? Or is there another way to do so
<stephen0>Is there a way to make shutdown callable by a normal user?
<ieure>sham1, See `make-collectd-profile-wrapper' in (gnu services monitoring), that's adjacent to what you need. It produces a shell script with computed-file, but you'd want to invoke stuff and have the computed-file be the output.
<ieure>sham1, You could also write a function which creates a package whose build takes Emacs and libraries as its inputs and outputs whatever you need to compute.
<Rutherther>stephen0: have you considered using "loginctl poweroff"? (considering you have elogind which you probably do as it's part of %desktop-services)
<stephen0>I wasn't aware. Thanks.
<sham1>ieure: interesting idea. I have done "synthetic" packages before to install custom scripts onto my profile, but that also sounds like an interesting idea. I'll try that
<sham1>Although hm, a package probably doesn't work for me, but computed-file should. Basically I'm trying to org-tangle a literate config into an init.el at home environment build time, and place it to its appropriate place with the home-files-whatever-service-type, and I just want to make sure that it happens with the appropriate emacs packages
<sham1>But yeah, I'll take a look at some of the computed-files