IRC channel logs

2024-07-24.log

back to list of logs

<RavenJoad>How does the build farm handle its avahi? I am trying to set up cuirass where the "remote" server & "remote" worker are the same singular computer. avahi is failing to start, and I think that is causing Cuirass to never distribute any work. My machines are part of a local network that has a custom top-level domain. Does the build farm do anything similar?
<Franciman>hi, is it my impression or guix pull and guix * reconfigure got both faster?
<futurile>freakingpenguin: ah nice - thanks for that
<adi-lb-phoenix>Hi #guix . While building a repo using guix , python does not get recognized by the cmake build system. How to recognize python?
<mekeor>hello. since at least a couple of days, my GHC_PACKAE_PATH env-var includes bad paths of the form /home/USER/.config/guix/current/lib/ghc-9.2.5/PKG-VERSION.conf.d which do not exist
<mekeor>any idea why?
<sturm>hi, I'm trying to set up home-ssh-agent-service-type, so I have an SSH agent running with the Sway window manager. Are there any tricks involved here? I've reconfigured, restarted Sway and confirmed that ssh-agent is running via Shepherd. SSH always asks for a password though.
<dariqq>anyone know how i can stop the user shepherd from greeting me with service startup messages in a tty/ssh session?
<avalenn>is there a cookbook for performance analysis of Guix ?
<avalenn>aka "why my `guix home reconfigure` is so slow ?"
<sturm>dariqq: what does it greet you with?
<sturm>is anyone using home-ssh-agent-service-type with a lightweight window manager? I keep having to enter my passphrase
<Deltafire>it might want a keychain manager running
<Deltafire>gnome-keyring-42.1 for example
<f1refly>i think building kvantum currently fails, am I doing something wrong or should I create an issue?
<f1refly> https://paste.rs/ocmQC.txt
<dariqq>sturm: I ge the whole starting service root, a guile deprecation warning, loading config fie FILE, and then mentions of all home services bein started which is annoying . Also tried adding the silent option to shepherd wby patching the gexp which starts shepherd but with no effect
<sturm>dariqq: and this is when you SSH *in* to the machine running Guix home?
<sturm>does it happen if you just open a terminal?
<sturm>thanks Deltafire - I'll look into it further
<dariqq>it happens in the first session for my user (which will then start the home shepherd). Usually i dont see it though as my window manager takes over the screen immediately and thus hides the message
<sturm>but then it happens again for any subsequent terminal you open?
<dariqq>no only the first one because for the others the home shepherd is already running
<dariqq>it seems weird to me why it would also log some things to a tty as there is also the log file with even more information
<sturm>dariqq: ok, interesting - I never see the messages but I suspect that's because I'm using GDM to log in. I presume you're not using a login manager?
<Deltafire>if you log in from another machine wile your user is logged out, you'll see them
<dariqq>sturm: try logging out of all sessions and then log in with a tty as the first session
<Deltafire>i wonder if you could just add >/dev/null to this line in .profile:
<Deltafire>$HOME_ENVIRONMENT/on-first-login
<Deltafire>hmm, except that's a symlink to the store..
<dariqq>probably will make this a bug report later today (as i found also a problem in the shepherd documentation)
<bigbookofbug>simendsjo, i do work with clojure. i had issues like this for awhile, but most of mine were resolved by installing the doc output for openjdk
<bigbookofbug>or it's the "jdk" output, but it installs some necessary clojure tools
<bigbookofbug>has anyone been able to successfully build qtile ? it fails for me, and hunting down the culprit it seems like one of the dependencies has the wrong version
<bigbookofbug>i've never touched python in my life though so im unsure how its dependency system works. fingers crossed its not as much of a packaging nightmare as rust :p
<ngz>bigbookofbug: There's a qtile update in python-team branch. I think it builds there.
<ngz>Unfortunately, this branch is not ready for a merge.
<bigbookofbug>ngz: is there a way to install from that branch specifically?
<bigbookofbug>unrelated, but how often does the mailing list get updated? i subscribed to the info and devel ones, but haven't recieved anything in my email
<futurile>bigbookofbug: you can use guix time-machine - that's probably the easiest way - to install some things from a branch
<dariqq>hmm the --silent option of shepherd does not seem do anything
<bigbookofbug>futurile: ty !
<fnat>I see there's at least one FTP server packaged under Guix, vsftpd, but apparently no Guix service for it, unless I'm mistaken. I guess there's no specific reason for this, is there?, just that nobody's felt the need for it so far?
<ieure>fnat, Likely. Not much call for cleartext file transfer these days.
<dariqq>Redirected the on-first-login script into the void and now finally silence
<ieure>dariqq, I also crave this, can you share the config which does that?
<fnat>ieure: Absolutely, that's true... (Although there are cases where simplicity is refreshing and security may be handled at a different layer, e.g. if you're tunnelling things through a VPN anyway.)
<ieure>fnat, Sure; though the FTP protocol is pretty notoriously not all that simple.
<fnat>ieure: Hm, I see. Thanks, it looks like I may want to evaluate more options then!
<ieure>Lightweight web server pointing at files on disk is IMO a better option.
<dariqq>ieure: dont think this is configurable: I manually added "> /dev/null 2>&1" to the add-shell-profile-file procedure in gnu/home/services/shells.scm. But i am open for a better solution
<ieure>fnat, Classic FTP has the server connect to the client to move data, which doesn't work if you're behind NAT. So there's a "passive" mode shoehorned in, which reverses that. But you still have stuff happening over two connections instead of one, like with more modern protocols.
<fnat>ieure: Thanks, yes, the webserver option sounds much more modern and elegant. Although I'd like something that some Android player might be able to stream music from, therefore something that has a concept of folder and file hierarchy, and I'm not sure the webserver would do...
<ieure>fnat, Of course it does.
<ieure>That's is stuff that's existed since the 1990s.
<fnat>Does it? That's great! And it hugely simplifies my problem.
<ieure>Yes... this is all built in to most webservers and has been for decades. ex. https://cdimage.debian.org/debian-cd/current/amd64/
<ieure>That's Apache pointed at some subdirectory in the filesystem, the index pages are generated on the fly, you can navigate around any part of the FS the webserver user has access to.
<fnat>In other words, I bring up an nginx that serves a folder, then connect to it with some player (e.g. VLC for Android) and the player should be able to browse files and play them etc.
<ieure>That's going to depend on the player more than the webserver.
<fnat>ieure: That's already super helpful, thank you!
<fnat>I'll give it a try and see if I can find any decent player that supports this.
<ieure>dariqq, Bummer, but thanks for the tip.
<ieure>fnat, Your goal here is just to play stuff out of your music library from your phone?
<fnat>ieure: That's correct, with the most lightweight setup possible.
<ieure>fnat, Does your phone have a microSD card slot or enough local storage to hold your whole library?
<dariqq>ieure: shepherd has a --silent option which does not seem to do anything which i think would be ideal for this
<fnat>ieure: Hm, are you thinking of Syncthing to mirror contents locally on the phone? I'm not sure the whole library would fit, but I'd be happy with that solution if the idea of streaming is too complicated.
<ieure>fnat, Yes, exactly. If you have the local storage, that is IMO the simplest way to get what you want.
<fnat>ieure: Ok, brilliant, thanks, I'll do some more research in terms of what players can do - but I'll definitely fall back on the Syncthing approach otherwise.
<ieure>fnat, I have this setup (but with an "expensive iPod," it's an Android-based dedicated music player), and it works well. My music library is ~450gb and I have a full local copy on the player; essential, since it doesn't have a cell connection and I use it when I'm out of the house.
<ieure>fnat, Other options worth looking into are WebDAV -- if you can find an Android thing which lets you mount a WebDAV share like a filesystem, any player should work with that.
<ieure>fnat, A more complicated setup would be to run a Jellyfin server that serves your music, and use Finamp to play music off it. I also have this setup, and I like it, but it probably fails your "most lightweight setup" criteria.
<ieure>VLC has a bunch of file access stuff, and can do things like mount SMB/NFS shares and play stuff off it. It's the best Android player in terms of where it can play stuff from, but not music-centric.
<jackhill>webdav is cool. I guess there are media specific servers like https://github.com/airsonic-advanced/airsonic-advanced but that one looks like it would be quite a bit of work to package. Not sure if there are alternatives.
<jackhill>ieure: ah, thanks for the jellyfin suggestion
<fnat>That's a great recap, thanks. Yes, I used Jellyfin until recently. It worked really great in terms of user experience, but I really wanted to migrate to something simpler.
<jackhill>although, I guess Jellyfin is also not packaged yet.
<fnat>jackhill: Jellyfin can be run relatively easily via the OCI container service, if it can be useful.
<fnat>But again, I came up with a setup that worked but that felt too complex for me.
<fnat>Music-listening me was happy, sysadmin-me less so.
<rekado>fnat: I'm using gerbera.
<ieure>All my selfhosting stuff is still running in containers on a Debian box. Probably switching that to Guix the next time I rev the hardware setup, but haven't wanted to mess with what's been working for years.
<rekado>simple guix service for gerbera: https://elephly.net/paste/1721835749.html
<fnat>rekado: Interesting and thanks for sharing it!! I thought gerbera was DLNA-based and that it involved some hassle to have it working via a VPN. But I see you're using it over WireGuard?
<rekado>yes, I'm using wireguard, and yes, it's a DLNA server.
<fnat>Do you need to do some special gymnastic around multicast on your firewall?
<rekado>on Android I use this as a client: https://f-droid.org/en/packages/org.courville.nova/
<rekado>fnat: gymnastics: https://elephly.net/paste/1721835986.html
<fnat>I was just about to drop MiniDLNA/ReadyMedia as an option based on the (perceived) complication of DLNA over WireGuard.
<ieure>WireGuard is real good, I also use that. My OpenWRT router terminates it, so I have access to anything on the homenet. "WG Tunnel" is a good Android client; it'll switch the VPN on/off depending on what SSID(s) you're connected to. So when I'm at home, it's off, and when I'm on any other net (cell or WiFi), it starts up the tunnel. So I get the same access anywhere, but it's faster at home, since it doesn't needlessly tunnel.
<fnat>rekado: That's some good yoga for me to practice with, thanks. You and ieure have been super helpful.
<rekado>with WG Tunnel you can also redirect only *some* of the traffic IIRC.
<RavenJoad>Does anyone here use plasma 6 as their DE? I just upgraded and am having minor issues that i want to resolve.
<dariqq>ieure: i have created #72277 for the issue
<ieure>dariqq, Thanks, appreciate it!
<Gooberpatrol66>If I packaged a program with hundreds of recursively imported dependencies, and I have no idea where the dependencies are supposed to go, is it still useful to submit a patch with the dependencies unsorted?
<RavenJoad>Does anyone here use plasma as their DE on Guix? I am having some bugs with the newly released Plasma 6.
<nikolar>Plasma 6 is just buggy at the moment
<civodul>Gooberpatrol66: sure; before submitting it, you can ask for more specific guidance
<civodul>like whether it’s Haskell, or Rust, or Go, etc. makes a difference
<Gooberpatrol66>it's rust
<RavenJoad>By "just buggy", do you mean things like audio raise/lower/mute keyboard buttons not working and themes half-applying to Plasma 6 programs (like KDE's System Settings)?
<nikolar>Erm not sure, I've just heard people complain since plasma 6 was released
<nikolar>Basically everyone's a beta tester now
<RavenJoad>Yippee. At least the upgrade worked. I guess I will just keep using it. I just need a Lisp-based Wayland WM to be usable.
<Gooberpatrol66>how do i get my guix configs to load each other as modules? do i need to put them in a channel? i tried adding the guix configs directory to GUILE_LOAD_PATH and that didn't work