<apteryx>rekado: hey, sorry, I was expecting to fully able to conduct any debugging that could arise from my reboot, but I overlooked the fact that my iDRAC access goes poof the minute the server ain't online.
<apteryx>rekado: the Btrfs array is mounted with the 'degraded' option, so I'm not sure what the trouble was
<luke-jr>how do I get the DHCP client to send the hostname to the router?
<djeis>Hmm, that's a good question... I should probably solve that for my own purposes.
<djeis>I'm not certain the standard dhcp-client-service-type's impementation has an option to do that tho. I run a custom dhcp service on some of my boxes specifically because I was unsatisfied with the limited config options of the stock one.
<djeis>Essentially it just runs dhclient as a shepherd service... You might be able to get it to respect a /etc/dhclient.conf, I'd need to fiddle with it. Ideally the guix service would be able to generate that or smth.
<kitty1>luke-jr: It honestly would be nice if there was more projects like nix/guix so everyone could choose exactly the way they want it to work out of various different options lmao ,, personally I think scheme is really intuitive and great once you get used to the flood of parenthesis, relative to most languages for this task. I remember when learning the basics of scheme I just kinda jumped in and set
<kitty1>my browser to nyxt (common lisp) set up guix (scheme) and kinda just delved into things like the SICP (a book on scheme, there might be better introductions tho) to make myself learn it quickly.
<littlebobeep>kitty1: I find SICP harder to learn Scheme than reading manuals of interpreters or the Lambda papers / r5rs / r6rs.... SICP's examples are so often based on advanced mathematics that makes my head hurt... I used to study Calculus and Trig and loved them, but SICP is still quite difficult for me
<kitty1>yeah, that was kinda my issue with it too, read only part way through and might jump back into it again some time lmao
<f1refly>what would be the best way of storing openvpn login information? The documentation rightly points out that file-like objects will be stored publicly in the store, which would be quite subobtimal.
<dirtcastle>I was thinking that there is a way to install gentoo from another linux I installed aside. or through another linux iso totally. I think this is the same with any distro or smtg. can I do that with guix too
<rekado>yes, just boot whatever and then run “guix system init /wherever”
<dirtcastle>or throught installer script I guess,. I'll use script.
<dirtcastle>rekado: after installing guix on ubuntu in my case, I'll create a partition called say guixfs , where guix os will be there. and mkdir -p /mnt/guix . and mount the partition on guix and run guix system init on a config file there?
<WesterWest[m]>dirtcastle: don’t forget to mount boot partition if you use efi
<ulfvonbelow>I think our exim service as-is doesn't quite work... from what I've read in the manual, exim needs to be setuid root in order to do local delivery to various users. We also aren't using -q<time> or a cron job to process the queue, so if anything temporarily fails to be delivered it's just stuck forever
<rekado>apteryx: we were missing an IP on eno4 to connect to the maintenance network.
<WesterWest[m]>jpoiret: the main problem is that hls requires about 50 unpackaged packages and the file with them has 1370 loc, so I dobiti have the energy to check where is the circular dependency coming from
<rekado>I just added the IP manually; and I pushed a commit to the maintenance repo.
<jpoiret>yep, that's the issue with languages that have their own package managers
<jpoiret>you could temporarily use containers for that, although i don't know how lsp would work across containers
<jfred>I kinda wish it were easier in Guix to interoperate with language package managers though; I haven’t used Nix much yet but the tooling around that seems a bit more fully developed there from what I’ve seen
<WesterWest[m]>jpoiret: oh yeah, docker style language server would work, if I bind the ports
<jpoiret>jfred: that's because they sometimes just let the tools do all the work
<bjc>or maybe i'm misunderstanding something. i was saying that emacs+eglot will work transparently over containers (via tramp). so if you need to use a container -- for instance, guix can't build run your haskell language server -- you can run that in a container
<bjc>you will need the file to be in the container, too, but that's just a matter of mounting directories
<efraim>janneke: right now only I have substitutes. I can share the Tor address but we haven't gotten build machines yet
<efraim>k7muufoychzetmq7evsv6gcq4sxq4olxo3uy2zlhek5fkfvl5uscbgyd.onion port 3000 according to my notes
<bjc>but my use case is: i have this directory, please make it a container. so i need almost nothing out of container management. but i can't figure out how to make podman work with it
<bjc>i think i have the cgroups stuff working. i'm able to use ‘crun’ to start them, but since crun won't set up networking or anything, it's a wash
<bjc>systemd-nspawn also uses cgroups, and i long ago migrated to v2 (and dealt with the hiccups), so i don't expect issues there
<kennyballou>Hey #guix, I'm trying to modify the z3 package to include java bindings, but seem to be getting stuck at the configure phase. Here is the Z3 definition: https://pastebin.com/ApagA92c. The configure output of the derivation states that it was unable to find javac in the PATH, but I've added java to the native-inputs. Is there something else I'm missing?
<luis-felipe>dirtcastle: I don't know any course about guile, only the manual. Do you have previous programming experience?
<djeis>Odd, I've gotten podman to work in the past...
<the_tubular>WesterWest[m] sorry just saw your message about podman, the package definition definetly need some work, but in the meantime you can create those file manually
<dirtcastle>luis-felipe: yes. I am trying to learn elisp. know little bit of c and python.
<djeis>Having the package itself create those files would be difficult, but for a guix system a system service for podman could be created that sets the files up.
<WesterWest[m]>the_tubular: I haven’t managed to run podman successfully even after that, sadly cgroups are weird
<the_tubular>I'm using podman fine everyday, but there are a few hurdles. Podman just got update to 3.4.4 in guix, but podman 4 is released (or releases soon) so I guess we can hit 2 birds with one stone and upodate the package definition when we upgrade the pacakge.
<the_tubular>WesterWest[m] If you check the package definition, there's a comment about a command you have to run for it to work
<nckx>diI know exactly one thing about cgroupsv2: that it's supposed to be managed by exactly one daemon (which is, de facto, systemd). Is our elogind managing them a discrepancy, or does elogind take the place of systemd here, and should podman be able to talk to our logind?
<djeis>Ah, so, I think it's fine that elogind is managing the cgroups (although that does make podman soft-depend on elogind...). However, our elogind is running a "hybrid" cgroups hierarchy.
<the_tubular>Not familiar with elogind enough to answer that nckx :/
<djeis>I think elogind can also work with a separate cgroup controller, so maybe it'd make more sense to have a dedicated cgroup controller instead of having elogind provide that?
<djeis>And that way podman could still be made to work on systems that don't want to pull in elogind.
<nckx>If I'd have to bet I'd say that Guix's current hybrid set-up is an historical accident/left-over, not a necessity. I say this mainly because I'm pretty sure my kernel has all the legacy v1 stuff ripped out. But then I don't run GNOME/docker/podman/… or anything fancy that might actually use cgroups.
<djeis>Regardless, I think a guix system service for podman is warranted.
<nckx>djeis: What are common providers beyond systemd?
<f1refly>how do I remove pulseaudio from my system? I removed the pulseaudio-service-type, which jugding from the documentation only removes the pulseaudio config files, and setting (pulseaudio? #f) in alsa-settings
<f1refly>I didn't find anything regarding the removal of pulseaudio entirely
<f1refly>Do I have to filter it from base-packages?
<djeis>Which, I think, means the other direction is the solution for now: tell elogind to not mount the v2 hierarchy at /sys/fs/cgroup/unified and stick entirely with v1.
<djeis>Which is a bit unfortunate, imo, but the other solution involves forcing an update to the latest docker and rewriting bits of gnu/system/file-systems and gnu/services/docker
<djeis>Wester West: Okay, so, I was able to make podman work by going the other direction: adding "elogind.legacy_elogind_cgroup_controller=1 systemd.unified_cgroup_hierarchy=0" to my kernel args so that elogind doesn't mount the v2 hierarchy at all and runs entirely in legacy mode.
<djeis>Might only need the first of those two options, I didn't test that.
<kennyballou>I believe I figured out the build step for z3 to include java bindings. I followed java-openmpi as an example. However, how do I tranlsate the old `(assoc-ref inputs "jdk")` to use the new gexpr style? I don't know what to pass `search-input-directory`. For reference, here is my current package definition: https://pastebin.com/uJqdEXFb
<mekeor[m]>when i want to use a module from one channel in a module of another channel, do i need to put the path of the former channel to GUIX_LOAD_PATH?
<mekeor[m]>kennyballou: pinning is a nice thing but reviewing changes to a 3.6MB file is tedious
<djeis>Wester West: You might be able to accomplish that by putting ~/.config/guix/current/share/guile/site/3.0/ on the load path.
<djeis>That's how I've got my geiser-guile configured.
<WesterWest[m]>djeis: i think I tried that but it didn’t work :/ my geiser simply doesn’t see any modules for example
<djeis>That might've been the thing I was mentioning above about needing to first use `(gnu packages)`
<kennyballou>mekeor[m]: indeed, I live a little fast and loose on updates to that channel. But I don't update very often... maybe every few weeks. I would probably be better served manually importing the packages that I depend on being updated, but I digress. I just did a `guix pull`, all channels were pulled in ~2 minutes
<mekeor[m]>kennyballou: okay hmm maybe it takes so long because i reference that melpa-generated module from my custom channel (in order to "inherit") (because emacs-ement is packaged for guix but not for melpa)
<Guest88>it worked. thank you. so my issue was that i never tried running guix archive --authorize with sudo
<WesterWest[m]>djeis: how do you setup geiser? Mine doesn’t seem to load my project into load path even when I try very hard to convince it to do so
<kennyballou>How can I specify NFS mounts to be mounted automatically on an unencrypted system? On an encrypted system, specifying the `(dependencies mapped-devices)` works, but on a system that does not use any mapped devices, I'm not sure how to get the mounting of NFS to happen at the right time and not hang the bootup. I've tried copying the root file-system object as the dependency, but that just errors saying nothing provides that "service"
<kennyballou>is that error the hint, can I specify the networking service as a dependency?