IRC channel logs

2025-08-24.log

back to list of logs

<robin>hm, any recommendations for a very simple firewall on guix? like, block connections to all but a few ports (22...) coming from outside the local network; i think this would be nftables-based on modern linux
<robin>(maybe simpler to configure on the router -- port forwarding instead of a dmz host)
<podiki>robin: yeah i just do it in my router
<podiki>(portforward some port to go to 22 on a local host for instance; default ssh port is bound to be spammed a lot)
<robin>yeah, that sounds simpler, i think i'll do that (router interface is mediocre for remote changes but should improve if i upgrade to free router firmware like apteryx recommended). thank podiki
<ieure>robin, I ran ufw on Debian, but looks like it's not package for Guix & has no system service to configure.
<untrusem>robin: there is a nftable service, you can give a nf.conf file to it
<kuero>hello everybody, and sorry for the noob question, but how can I install programs like suckless that requires compiling instead of editing a configuration file?
<csantosb>One option would be to use variants, using `--with-source` flags to `guix build`, for example
<untrusem>kuero: you can make your own custom suckless packages with the patches you would need
<untrusem>sneek: later tell kuero: here is an how you can make your own st packages with patches, this is easy that doing that in arch https://bpa.st/JU4A
<sneek>Got it.
<luca>Hi, does anyone have any example-for-dummies on how to use the new rust packaging model in a third party channel?
<luca>nevermind figured it out https://git.lucamatei.com/guix-luca-repo.git/commit/?id=4aa7c369b5be61d7de464db9b28186cc1d40921e
<hako>luca: `cargo-inputs` allows selecting a module, so you can simplify luca-cargo-inputs a bit.
<hako>Just updated it ;) https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/utils/cargo.scm
<Rutherther>luca: that what you copied was the way to do it before rust-team has been merged to master
<luca>Awesome! Thanks :D
<luca>Maybe related, maybe not, but I am having issues pulling with my custom channel and the error doesn't mean a whole lot to me šŸ˜… https://lucamatei.com/paste/6b7b8af5-6447-48af-b03b-522f1595d0cf.txt
<luca>As far as I can tell all the packages in my repo can be built correctly now, so not sure what the problem is
<Rutherther>what's in the log file?
<luca> https://lucamatei.com/paste/2355ae7a-fb30-4662-a9c2-25ca6dced067.txt
<luca>removing that import still builds the packages correctly, so i guess it's not needed anymore
<Rutherther>yes, crates modules have been removed
<luca>weird it didn't fail to guix build, but whateves. I'll try to push and pull and see if it works
<luca>that did fix it. Thanks!
<gscacco>Hello, I'm using guix on Alpine. Using guix search the report shows bad characters on the terminal (e.g. name: [[1mhledger[[0m). I am connected to Alpine in ssh using Windows Terminal. What I'm missing ? In alternative, is there the possibility to disable colors in the output ? Thanks
<luca>not that I know the specific issue, but sometimes running `export TERM=linux` helps a tad
<gscacco>export TERM=linux doesn't work. Same behaviour
<postroutine>Hello. I am interested to starting using Guix Home but I have a question: How can I use Guix Home to manage my home configurations files but avoid some file to be put in to the /gnu/store while still have them managed by Guix HomeĀ ?
<postroutine>For example, my `.ssh/config` file contain a the list of the computers IĀ can connect to, and the name of the key I use to connect to them. I would like to avoid having this file but in /gnu/store because it is readable by any user on the system. But I still would like to have Guix Home to be able to manage this file so I dont't have to manage it manually.
<identity>postroutine: see home-ssh-service-type for that
<postroutine>identity: Last time I tested this home service, it have generated a config file and this file was put inside the /gnu/store. I would like to avoid that.
<identity>postroutine: the home ssh service is configured by specifying the names of the files where your actual keys are, which are not put in the store
<identity>s/ssh/open&/
<postroutine>identity: Yes, the key is kept out of the store, but not the reste of the hosts parameters, like hostname or IP adresse, the name of the key used, the user name, the port, etc.
<identity>you can just configure openssh manually if you do not want that to go in the store
<untrusem>I want emacs to show me documentation of guix things under my point, I have geiser-guile running but it don't take me to source of stuff, take `package-with-extra-patches` in this example https://bpa.st/JU4A
<postroutine>identity: Is there a home service that let me manage config files like GNU Stow, that only create a symlink from the original file place to the file destination place and without copying the file into the storeĀ ?
<identity>postroutine: i doubt that
<unwox>postroutine: there is this one: https://toys.whereis.social/services?search=stow
<untrusem>Whenever my machine disconnects from internet, the screen goes black and then it comes back when the internet is connected. So I don't know what's happening. Is it related to elogind?
<PotentialUser-16>Hi!
<PotentialUser-16>I have just added the new channel `guix-rust-past-crates` as suggested. However `guix package -u rust-cargo` is failing with the following error: `ld: cannot find -lsqlite3: No such file or directory`. Any idea?
<hako>PotentialUser-16: Is there a use case to install that package into your profile?
<hako>Probably you want cargo output of the rust package, rust:cargo?
<Guest637>Hi, I tried to update my packages today and I ran out of disk space on /. So I thought I would run guix gc, but then it turns out that doesn't work if I have no disk space? What should I do now?
<Guest637>I'm on Debian 12
<identity>Guest637: try deleting something else on disk, like something in your $HOME, and then retry guix gc
<Guest637>ah the issue is that I have some space on /home but / is a separate partition as well as /tmp /usr and /var so I'm not sure if there is anything I can delete over there. I separated the partitions like that when I was installing the system, maybe it wasn't a good idea
<identity>the only thing in /usr is /usr/bin/env… splitting / seems like a suboptimal idea with guix system, as most of the stuff is in the store
<nikolar>You can split off the store then
<Guest637>I'm on Debian, I'm only using the guix package manager for a few packages
<Guest637>nikolar I'm not sure how that will help me get back disk space on /
<Guest637>unless I can move it to some other disk?
<nikolar>Sorry, I wasn't following the conversation :/
<Guest637>temporarily at least
<Guest637>ok, no worries
<PotentialUser-16>hako: Sorry, what do you mean by "cargo output of the rust package rust:cargo"? I have used `cargo` to install last version of `nushell`
<Rutherther>PotentialUser-16: packages can have multiple outputs, the default output being called out. Rust package has output cargo that has cargo binary in it. You can specify it by specifying the rust:cargo specification, ie. guix shell rust:cargo
<PotentialUser-16>Rutherther: A Lot to learn about Guix! :-)
<Guest637>what if I remove guix from my system? will that let me reclaim the disk space?
<Rutherther>of course, removing stuff reclaims disk space :)
<Guest637>and what will happen to configuration files of the programs I had installed with guix?
<Rutherther>what configuration files?
<Guest637>when I install some application and I change some settings, I would like to be able to keep all of that so that I can reinstall Guix later and all the packages I had
<Guest637>I'm stuck with guix gc not clearing up space
<Rutherther>I still don't know what applications/configurations you are talking about... but installing packages doesn't install any configs inherently, those are separate... so uninstalling guix doesn't change any of configuration files created by running programs installed through guix...
<Guest637>oh ok, that's great! just wanted to make sure
<Guest637>I don't want to lose anything
<Guest637>no, removing Guix didn't free up any space on /
<Rutherther>? what did you remove exactly?
<Guest637>I ran: apt remove guix
<Rutherther>by removing guix I thought you mean removing guix completely, not removing a single apt package
<Guest637>so how do I remove it completely?
<Deltafire>delete /gnu/store
<Rutherther>and /var/guix. Those go together, do not remove only store without removing /var/guix
<Deltafire>In fact, wipe the disk and install guix system ;)
<Guest637>could I instead move /gnu/store to another partition temporarily and create a symlink to it? Maybe then I could run guix gc?
<Guest637>lol no way :D
<Guest637>I mean I thought about it but it looks very complicated and I'm having trouble with just the package manager
<Deltafire>You could move it and then alter the bind mount i guess
<Deltafire>But why don't guix gc run?
<Deltafire>What was the error?
<Guest637>I have no disk space left on / and it's a separate partition so I don't think I can remove anything from there. I have partitions: /home /usr /var /tmp and /
<Guest637>deleting `/gnu/store/trash'
<Guest637>guix gc: error: getting status of `/gnu/store/trash': No such file or directory
<Deltafire>Oh,weird
<Guest637>I looked it up and it's a known bug apparently but I don't understand how to solve it
<Deltafire>I think that's the last thing it does
<Deltafire>Can you delete that directory manually?
<Guest637>I tried to move something (one of the generations I think) from /gnu/store to another parition to get a little bit of space at least but then I got this error as root:mv: cannot remove [path here] Read-only file system
<Guest637>the issue is that I ran out of space on / while updating packages and guix gc doesn't work with 0 bytes of space
<Guest637>I also tried to delete a package but it started downloading and compiling stuff and failed with an error because there was no space
<Deltafire>Run apt autoremove? Might clear up some space
<Guest637>I already did: apt remove guix which was supposed to clear up 300 MB of disk space, but that did nothing so I assume it was installed in /usr which is a separate partition
<Deltafire>Uninstall some big debian package
<Guest637>I suspect they all get installed in /usr partition
<Deltafire>Hmm.. true
<Guest637>oh wait I do have some files in /opt and that is on the same partition as /
<Guest637>so there is some hope :D
<Guest637>I was able to do it, thanks for help!
<cow_2001>will guix consider creating a stable branch, something that is not rolling but... uh... whatever they call non-rolling distributions?
<Deltafire>no, too much effort backporting security fixes and whatnot