IRC channel logs

2026-04-06.log

back to list of logs

<dajole>I'm trying to test my home-restic-backup-service-type (https://paste.debian.net/hidden/bd9c1730) by triggering it manually with `herd trigger backup-to-foo`. It says "Triggering timer." but seems to fail silently. I can create restic backups from the cli just fine. How can I introspect observe what's going wrong in the home service?
<mra>Rutherther: ah, I see. I'll have a look through that
<mra>I guess a GCD on the topic seems rather inevitable
<yar-oracool>Hellow!
<brian|lfs>I tired and tried to write a config file since graphic instgaller doesn't work I give up
<brian|lfs>LFS is earlier
<yar-oracool>Can we use modify service types the same way we do service type definitions? I have been banging my head against the wall for a while but nothing so far. The modul is detected but no matter where I put the code it gives an error.
<bjc>iirc, ‘modify-services’ can only update and delete from the set of services in its argument
<bjc>if you want to add to the list you'll need to use ‘append’ or ‘cons*’, etc
<yar-oracool>I want to define it in a file and use it like a module
<ieure>yar-oracool, What's your error?
<yar-oracool>wrong argument type in position 1 (expecting struct)
<ieure>yar-oracool, And what's the code?
<yar-oracool>It's either whre I'm placing it or how I defined it in the external file
<yar-oracool>or how I' even calling it
<ieure>Error seems like it's how you're calling it, but I don't have enough information to tell you.
<yar-oracool>rip
<yar-oracool>guess I have to merge it then.
<ieure>You could also share more information.
<yar-oracool>What info do you need?
<yar-oracool>like the files?
<ieure>That'd be ideal, yes.
<yar-oracool>system conf: https://pastebin.com/PqVZU5Yw
<yar-oracool>Modify defenition: https://pastebin.com/QCxz8KDn
<yar-oracool>Huh.. IRC doesn't know line breaks... oh well
<ieure>You can't send a line break in an IRC message, because they're used as part of the protocol and everything would break horribly.
<ieure>yar-oracool, Do you want the fix to your code, or a pointer already existing code that already does what you're trying to do?
<yar-oracool>A standard system would be ideal if it functions the way I like.
<yar-oracool>as in very modular
<yar-oracool>if not then guess I have to fix my dode
<yar-oracool>code*
<ieure>yar-oracool, PM'd since it's offtopic for #guix.
<ieure>But wrap your operating-system in that function, and it will do what you want.
<yar-oracool>ok... let's see how I can open my dms in emacs irc
<ieure>The problem with your code is that you're calling (service ...) but giving it a procedure. It expects a service.
<yar-oracool>b.. let me run thunder bird
<yar-oracool>Sent you a dm from thunder bird
<trev>do we have something similar to Nix's buildGo124Module?
<trev>basically i want to take all go inputs and put them into a vendor directory
<trev>or on the GOPATH
<miro`>Hello. I have a question about developing guix packages. i
<miro`>I send that too early... I'll type the question and come back
<miro`>When developing new packages, fixes or changes to existing packages, etc., what is the recommended way to test them?
<miro`>I now use `guix time-machine -C <channels> -- ...` where <channels> contains a local guix repository with the changes.
<miro`>However, there is also `./pre-inst-env guix ...`.
<trev>miro`: i am using ./pre-inst-env guix [build|shell [package]
<miro`>trev: ok thanks. Am I understanding something wrong if I think that they are more or less performing the same thing?
<trev>miro`: i suppose so if you are only working on packages. Sometimes i also just do that in a tmp directory and `guix shell -f /tmp/foo.scm' as well
<miro`>trev: ok thanks!
<Rutherther>miro`: they are going to give you the same package in the end. But guix time-machine was never meant for development. You always need to recompile everything from scratch, so the iteration can take tens of minutes. Whereas with pre-inst-env, you can recompile just what changed, so an iteration can take a few seconds
<yarl>Rutherther: (Just to know:) in the time-machine case, I think the changes must have been committed, am I wrong?
<Rutherther>yarl: yeah since time-machine operates on git refs/commits/branches
<Rutherther>and fetching a local repository can take quite a lot of time with guile-git since it fetches all refs
<ekaitz>nutcase Rutherther : ADW_DISABLE_PORTAL=1 for the dark theme setting
<ekaitz>at least in gajim
<Rutherther>ah so it tries desktop portal first and that returns no dark theme
<ekaitz>other apps didn't change
<ekaitz>(well only libreoffice)
<nutcase>ekaitz: Do you have gnome-themes-extra installed?
<ekaitz>this is adwaita specific
<ekaitz>nope
<nutcase>try that
<ekaitz>for libreoffice?
<nutcase>I'm not 100% sure, but I think it contains adwaita for gtk2 + gtk3
<nutcase>What does libreoffice use?
<ekaitz>aaah
<ekaitz>good point
<nutcase>gtk3
<ekaitz>for the moment it didn't change anything
<ekaitz>it's probably because it uses its own theme system
<ekaitz>ACTION reboots
<ekaitz_>okay got it working
<ekaitz_>except libreoffice
<ekaitz_>it's like a few things read the .config/gtk-3.0 or whatever files
<ekaitz_>and others just read from dbus and adwaita uses portals first
<ekaitz_>ACTION will never have an acceptable answer to: why?
<nutcase>ekaitz_: it's a mess. But I think 2027 is the year of the linux desktop
<ekaitz_>it has been the year of linux in the desktop for me since 2010, but this is... too much
<nutcase>ACTION since 1999
<ekaitz_>:)
<ekaitz_>it's desktop environments only worry about the experience of the whole thing together
<ekaitz_>and things separatedly don't work as well
<nutcase>It's like a human. You get to used to compromises
<ekaitz_>now i'm wondering, how does 'darkman' work?
<ekaitz_>it changes all the files, settings and reselaunches apps?
<nutcase>ekaitz_: It works here and I don't what it exactly does under the hood
<nutcase>you may look at the code or ask Hugo
<ekaitz_>yeah...
<ekaitz_>just enroll in the dark-theme master's thesis
<ekaitz_>because just *using* my computer is not hard enough, configuring it has to be also hard
<ekaitz_>:)
<nutcase>that's why we use emacs
<ekaitz_>:)
<intermet>Hello there! I would like to use fusemount for unprivileged users. According to the wiki I need to add the fs %fuse-control-file-system and "the fuse.ko kernel module to be loaded". How can I activate this module? Thank you for helping.
<intermet>I used (define-public %kernel-arguments
<intermet>  (append '("fuse.ko=1")
<intermet>          %default-kernel-arguments))
<intermet>but still get fusermount3: mount failed: Operation not permitted. I tried to add the user to the fuse group but same error.
<yarl>intermet: Did you look at 11.10.37 Linux Services (Kernel Module Loader Service)
<yarl>(In the guix manual)
<efraim>is anyone else having issues with cscope in vim?
<intermet>yari: I had the right service (service kernel-module-loader-service-type
<intermet>           '("fuse.ko"))
<intermet>but I still get fusermount3: mount failed: Operation not permitted.
<kestrelwx>o/
<trev>i finally got kitty updated to the latest version. big patch incoming
<trev>😩
<kratacoa>trev: MASHALLAAAAA
<nox>nice
<nox>if it isn't already done, you may want to turn off kitty's update checking/phoning home (https://github.com/kovidgoyal/kitty/pull/3544)
<trev>we had (setenv "KITTY_NO_UPDATE_CHECK" "1") but it looks like that isn't anywhere in the code
<trev>i will look into patching it to zero
<trev>oh - Only check for updates in the official binary builds. Distro packages or source builds will no longer check for updates, regardless of the value of :opt:`update_check_interval`.
<trev>we have it at 0, so all good
<kestrelwx>502
<spacematty>Has anyone ever successfully gotten Guix working as a Xen host?
<trev>codeberg down kestrelwx ?
<kestrelwx>Yeah.
<zynx>hi i have been trying to get a trunk bridge working under guix but no no matter what i do vlan_filtering always comes as 0. this is what i have on my config.scm now: (service static-networking-service-type (list (static-networking (links (list (network-link (name "virbr0") (type 'bridge) (arguments '(
<zynx>(vlan_filtering . 1)))))) (addresses '()))))
<zynx>virbr0 comes up after a herd restart networking but checking /sys on virbr0 for vlan_filtering comes back as 0
<zynx>can make it work with a custom shepherd-root-service-type but feels hackish :)
<Rutherther>zynx: what exactly did you change in the shepherd root service type?
<zynx>Rutherther: instead of having a static-networking for the bridge i create a custom service that manually issues the /sbin/ip commands
<zynx>like so: (start #~(lambda _ (let ((ip #$(file-append iproute "/sbin/ip"))) (invoke ip "link" "add" "name" "br0" "type" "bridge") (invoke ip "link" "set" "dev" "br0" "type" "bridge" "vlan_filtering" "1") (invoke ip "link" "set" "br0" "up")) #t))
<zynx>but yeah doesn't seem the right way of doing it but it works
<Rutherther>zynx: oh so you did not mean you replaced the shepherd root service type, just that you made your own service and extended shepherd root with it?
<zynx>Rutherther: sorry still trying to get round the correct wording but yeah that is right
<zynx> https://issues.guix.gnu.org/68595 <--- (arguments ... seems to be supported for bonds though
<zynx>probs missing something, first time playing with guix really
<Rutherther>zynx: I am afraid (guile netlink) - the library used with static-networking service, just does not support the vlan filtering argument
<Rutherther>zynx: https://paste.debian.net/hidden/1c91b6da this is the list of supported arguments
<Rutherther>I don't think your solution is hacky in any way, the static-networking does basically the same, except that it uses this library (guile netlink) instead of "ip" cli utility
<jlicht>hey guix
<jlicht>dthompson (or any other of the fine spritely folks): I'm bumping node-lts, and I'd like to know whether the guile-hoot package building building successfully mean things should Just Work (tm) or whether I need some additional sanity checks
<jlicht>s/building building/building, *means :)
<dthompson>jlicht: hey! yeah if hoot builds then we're good. the test suite runs against node.
<dthompson>good timing as I'm actually looking at node stuff rn
<dthompson>I am in need of the new wasm stack switching goodness and am trying to figure out what node releases (if any) have a fresh enough v8
<dthompson>jlicht: have you tried building any non-lts node releases?
<nox>> we have it at 0, so all good
<nox>trev, ahh, perfect :D
<drippynwah>hey folks, anyone know of libre-friendly wifi cards that do at least WiFi 5? all the ones marked supported rn are stuck on WiFi 4.
<untrusem-->hello guix, long time no chat
<ieure>Welcome back untrusem--!
<ieure>I see you've decremented while you were away.
<untrusem-->lol
<zynx>Rutherther: ah makes sense. might try and take a stab on getting it sorted on the library once i have some time. cheers!
<untrusem-->I have not guixed much these days