IRC channel logs

2021-06-27.log

back to list of logs

<drakonis>rndd: the package exists i suppose
<drakonis>not sure about any related services
<char>zacchae[m]: I agree that guix is better than package.el, but I like to modify some installed packages, and I don't think I can do that with guix.
<zacchae[m]>I thought modifying packages was a core function of guix, no?
<char>I though /guix/store is read only, so no modifying packages
<zacchae[m]>you can modify package definitions, which just means you can't used cached binaries, i.e. you might end up (automatically) compiling
<zacchae[m]> https://guix.gnu.org/manual/en/html_node/Defining-Package-Variants.html
<char>right, but I mean modifying the emacs lisp. I could fork, I'm too lazy, and don't care much about the particular package
***roptat is now known as Guest5836
<zacchae[m]>yeah, elpa is definitely easier if you are the only one using it, but only at the cost of reproducibility
<char>also some of my emacs lisp packages are not yet packaged for guix, and I'm working on other things right now.
<rndd>drakonis: ok. thank you for then answer
<drakonis>guix home has a service for that
<drakonis>but then you'd need to use the repository
***Guest5836 is now known as roptat
<zacchae[m]>Anyone know how GDM launches your WM? specifically, I want to use exwm, but I used to accomplish this by launching `emacs -f my-func`, where `my-func` sets up a fatter, exwm-specific, environment
<ixmpp>use advice?
<raghavgururajan>leoprikler: I see.
<zacchae[m]>ixmpp: was that to me?
<ixmpp>yes]
<zacchae[m]>I'm not sure what advice is
<mekeor[m]><Guest92 "I mean I always have to log into"> does the nextcloud-client have the login-preservation feature upstream (i.e. e.g. on other distros)?
<zacchae[m]>I found `server-arguments` in xorg-config, but that would apply to all WMs. There must be a good solution to this... Maybe that solution is to just not use GDM
<zacchae[m]>ixmpp: I'm sorry for being dumb. The advice emacs package would work. However, it mentioned hooks, and that is obviously how I should do this. GDM at the very least is running `exwm-init`, so I just need to add to `exwm-init-hook`
<wirez>where's the guix repo? wanna look through recent commits
<wirez>it on gitlab or smth?
<s34n_>I installed guix on top of my distro
<s34n_>Now I can guix search, but I can't guix install or guix pull
<s34n_>guix install: error: failed to connect to `/var/guix/daemon-socket/socket': No such file or directory
<s34n_>I installed using recommended shell script
<s34n_>I don't have a guix-daemon
<s34n_>What have I missed?
<sawshep>`which guix-daemon` doesn't return anything?
<s34n_>nope
<sawshep>sorry, i don't know how to help
<s34n_>hmm.. there was this during install: Created symlink /etc/systemd/system/guix-daemon.service.wants/gnu-store.mount → /etc/systemd/system/gnu-store.mount.
<sawshep>can you enable it with systemctl?
<sawshep>and do you have your GUIX_PROFILE set correctly?
<s34n_>systemd tried to start it but failed
<s34n_>I don't know anything about a GUIX PROFILE
<s34n_>guix-daemon.service: Failed to execute command: Permission denied
<s34n_>guix-daemon.service: Failed at step EXEC spawning /var/guix/profiles/per-user/root/current-guix/bin/guix-daemon: Permission denied
<sawshep>you should run `GUIX_PROFILE="/home/[your username]/.guix-profile"` and then `. "$GUIX_PROFILE/etc/profile"`
<sawshep>you need to run it with sudo: `sudo systemctl enable guix-daemon && sudo systemctl start guix-daemon`
<s34n_>hmm. I have a $GUIX_PROFILE, but the path it contains doesn't exist
<sawshep>i believe it is created when you first install a package as an unpriveliged user
<s34n_>the install also had: [ PASS ] activated root profile at ~root/.config/guix/current
<s34n_>That path doesn't exist, either
<s34n_>sawshep, you told me to run $GUIX_PROFILE/etc/profile so that I could guix install
<s34n_>then you said that won't exist until I guix install
<s34n_>that's a bit circular
<sawshep>have you had success with enabling the daemon?
<s34n_>what daemon? it doesn't exist
<sawshep>The error message you posted indicates you don't have permissions to enable it. If you already ran it as root, I apologize. I recommended setting your guix profile and sourcing it in the case it might have already been created.
<sawshep>If neither of those work, I don't think I can be of any more help. You can always try rebooting.
<s34n_>this exists: /var/guix/profiles/per-user/root
<s34n_>rebooting will not make the daemon appear on my disk
<s34n_>is there a nice guix-uninstall.sh to reverse the work of guix-install.sh?
<sawshep>So you have run systemctl as root? Because the error message you sent indicates either you have not, and the daemon might exist, or you have and the daemon does not exist.
<s34n_>I ran it as root
<sawshep>Ok, I can help no further.
<ecbrown>s34n_: which os?
<ecbrown>(distro)
<s34n_>fedora
<s34n_>I found the daemon
<s34n_>at /gnu/store/0iii8i1lc4wg3wccs1db7y7d8lg80i04-guix-1.3.0/bin/guix-daemon
<ecbrown>s34n_: did you install with the script?
<s34n_>yes
<ecbrown>you need to systemctl services restart guix-daemon
<ecbrown>or whatever the syntax is (i don't use systemd much anymore so i dont remember)
<s34n_>selinux!
<ecbrown>
<ecbrown>user does not call guix-daemon
<ecbrown>yes, selinux was my next suspicion
<s34n_>guix pull just updates guix?
<s34n_>or does it pull down a whole os?
<sawshep>guix pull updates guix and it's recipes. guix system reconfigure buils a new os generation
<s34n_>why is it pulling things like subversion?
<s34n_>this is a pretty massive list of things getting pulled
<ecbrown>s34n_: that depends on whether running as user or root
<s34n_>complete programming languages...
<s34n_>user
<s34n_>I'm getting nervous
<ecbrown>those would be packages then. theres some subtley here, because pull actually pulls all current definintions even if those are "services"
<ecbrown>but the user will then do guix package -u and update just installed user packages
<ecbrown>on foreign systems it seems root's a little limited to guix-daemon and perhaps some other smallish ancillary stuff
<s34n_>100MB here, 200MB there. 100s of downloads. It all adds up
<ecbrown>on guix system, it could be e.g. CUPS
<ecbrown>or a new kernel!
<ecbrown>yes
<ecbrown>just wait until you desperately need to pin a package then it all pays off :-)
<s34n_>noting /gnu at 2GB and counting..
<ecbrown>its something to watch. there is a `guix gc' command
<raghavgururajan>s34n_: May be this page can make you understand things better. https://guix.gnu.org/en/manual/en/html_node/Managing-Software-the-Guix-Way.html#Managing-Software-the-Guix-Way
***schmillin_ is now known as schmillin
<ecbrown>its the guix way or the highway
<s34n_>there's supposed to be an /etc/guix-daemon.cil file with selinux policies
<s34n_>but I don't find it
<ecbrown>no /
<ecbrown>semodule -i etc/guix-daemon.cli
<ecbrown>il
<s34n_>libsemanage.map_file: Unable to open etc/guix-daemon.cil
<s34n_>(No such file or directory).
<ecbrown>s34n_: not a selinux user myself, but i'm finding some web hits on guix selinux fedora
<ecbrown> https://nand.sh/~benk/installing-guix-on-fedora.htm
<s34n_>I'm trying to follow https://guix.gnu.org/manual/en/html_node/SELinux-Support.html
<ecbrown>has a section on selinux. sounds like a pain in the ass to me and needs to be disabled
<s34n_>is there a way to see the size of an install before installing it?
<s34n_>guix install freecad is pulling down freeipmi, cdparanoia, mariadb, and other crazy stuff
<s34n_>libvorbis?
<s34n_>gstreamer?
<ecbrown>yes, if there is a video player, eg. desktop env
<ecbrown>sounds like multimedia apps
<s34n_>it isn't a multimedia app
<s34n_>I can't imagine why it would need perl-html-parser
<s34n_>It certainly doesn't depend on those in my current distro
<ecbrown>`guix weather <program>'
<ecbrown>s34n_: is it material?
<ecbrown>and, there could be different functionalities enabled between distros
<s34n_>is pulling down llvm and clang so it can do a local compile?
<ecbrown>pro tip: to use guix you have to wait for packages to download or build. when you get them on-prem things go faster. but even still you will have to wait
<ecbrown>it's definitely not the same class as rpm and apt
<ecbrown>it may need them for runtime libraries
<ecbrown>it may also compile, if the substitutes (binaries) are not available. then you will build local from source
<s34n_>weather said 0% substitutes
<ecbrown>once you have a base, then updates are usually "incremental" compared to this first pull
<s34n_>once I've done a local build is there a way to contribute it back up for others?
<ecbrown>yes, substitute servers by the people!
<ecbrown>(i have one)
<s34n_>run my own substitute server? or convince somebody who runs one to take my build?
<ecbrown>but guix doesn't accept back binaries, they build their own
<ecbrown>there's some "information" in multiple people building binaries
<ecbrown>guix weather can interrogate many substitute servers to see if they have the same checksums etc
<s34n_>hosting random builds from strangers seems sketchy :)
<ecbrown>so as to see if it is a reproducible build
<s34n_>5GB and counting on /gnu
<s34n_>That's about an entire distro of space
<s34n_>with no packages even installed yet
<wirez>is guix bloated?
<ecbrown>its not bloated unless you ask it to be
<ecbrown>then it gets bloated
<wirez>shouldn't the declarative reproducible nature of guix make it easy for every config to be stripped down and not bloated?
<wirez>'only what u need'
<ecbrown>it is
<wirez>ya should be last OS to be bloated imo
<ecbrown>you can optimize the store
<ecbrown>you can make your own definitions that give you console emacs
<ecbrown>its all in the eye of the beholder
<ecbrown>you can not install gnome, and install i3
<madage>what is guix?
<sneek>Welcome back madage, you have 1 message!
<sneek>madage, luis-felipe says: Right, plugin/unplugin works weird for me too, but not always.
<ecbrown>madage: it is a gnu/linux distribution and a large component of that is a specialized package manager
<ecbrown>that package manager can run on other distros, so guix could be called a compatiblity layer in some way
<madage>ecbrown: yes, but in the context of the question asked what is wirez asking?
<madage>if guix source is bloated ?
<wirez>madage: it's a linux distro made up of only free software and a package manager that's declarative and makes reproducible installs
<wirez>anything, that's why i left it vague
<wirez>maybe the pm, maybe its project structure, who knows
<ecbrown>ok, install bare-bones.scm and tell me guix is bloated
<ecbrown>that's bs
<madage>right, then are you asking if the guix source is bloated?
<wirez>i already said, anything under the guix umbrella. is a project only source?
<madage>or if some user declarative os result can be bloated ?
<ecbrown>madage: i have dozens and dozens of guix's on my computer
<madage>no, but since guix is a package manager and a distribution, your question is vague
<wirez>intentionally
<madage>are you talking about guix itself or of an guix instance?
<ecbrown>i have a number of packages that i pin to a version
<ecbrown>and each of those versions basically needs "a guix" to define it
<s34n_>applying lots of graft. And not a single bribe to me...
<wirez>either, but only as far as the guix maintainers are concerned. obviously if you make a bloated install as a user that's not on guix
<ecbrown>i wonder how many versions of python i have living in this system
<madage>sneek: later tell luis-felipe, sorry, I've been away and might have lost the context of your comment, was it pulseaudio?
<sneek>Got it.
<ecbrown>well, any gnu/linux i've used has had at least six pythons
<ecbrown>by the time i'm rocking and rolling
<madage>well guix maintainers maintain guix source and package definitions
<wirez>link to guix repo website?
<wirez>wanna see recent commits
<wirez>its src repo isn't public?
<sawshep>Now that I've created a recipe for a package, how do I decide what module to put it in?
<efraim>wirez: it is hosted on savannah https://git.savannah.gnu.org/cgit/guix.git/
<sneek>efraim, you have 1 message!
<sneek>efraim, raghavgururajan says: In the config.scm you shared yesterday, I noticed that you were mount options for btrfs. Does autofrag runs as a service managed by shepherd?
<wirez>ty
<wirez>what's the most expensive GNU copyleft licensed software out there?
<MysteriousSilver>Hello #guix! How do i write a shepherd service? Would like some examples
<char> MysteriousSilver: did you search online, there is at least one blog, https://guix.gnu.org/manual/en/guix.html#Shepherd-Services and guix/gnu/services/base.scm
***iskarian is now known as Guest8251
***iskarian is now known as Guest4146
<MysteriousSilver>so, where should the shepherd configuration belong?
<efraim>raghavgururajan: I'm not sure about the autodefrag option for btrfs, I assume it's one of those things managed automagically through mount
<raghavgururajan>efraim: I see. Btw, Regarding custom os-relase service you have, is it for flatpak?
<Aurora_v_kosmose>How stable is Guix as a daily OS?
<Aurora_v_kosmose>I should reformulate that.
<Aurora_v_kosmose>Are there any major hardware support gotchas regarding say... an iGPU-using laptop.
<raghavgururajan>Aurora_v_kosmose: It is pretty stable. I have issues with using default kernel with is latest. But putting `(kernel linux-libre-lts)` in config.scm solved the issues.
<Aurora_v_kosmose>raghavgururajan: I'll take note of that.
<raghavgururajan>Aurora_v_kosmose: The transactional nature of guix is a bliss. `--roll-back` gives you peace of mind. https://rednosehacker.com/taking-baby-steps-with-guix-3-transactions-and-generations
<Aurora_v_kosmose>raghavgururajan: Yeah, that's why I rephrased the "stable" part.
<Aurora_v_kosmose>Since Arch Linux-like breakage is unlikely.
<Aurora_v_kosmose>Got to afk for a while
<Aurora_v_kosmose>Very worse case would be boot with a livecd, chroot and roll-back
*Aurora_v_kosmose afk
<efraim>raghavgururajan: I mostly just wanted /etc/os-release to exist. And I regularly check it when I need to submit a bug
<raghavgururajan>efraim: I see. Thanks!
<raghavgururajan>> Aurora_v_kosmose‎: Very worse case would be boot with a livecd, chroot and roll-back
<raghavgururajan>You could select previous/older system generation from grub menu.
<efraim>do we have a page in the manual for 'guix build -f'?
<efraim>I used https://guix.gnu.org/manual/en/html_node/Additional-Build-Options.html
<muradm>hi guix
<muradm>any way to see which packages will be built localy prior to applying guix system reconfigure?
<muradm>same question for guix package for updating profile from manifest
<bricewge>muradm: “guix weather --manifest=my-manifest.scm” https://guix.gnu.org/manual/devel/en/guix.html#Invoking-guix-weather
<efraim>adding the build flags '--no-grafts' and '--dry-run' should give you a rough approximation
<muradm>bricewge: guix weather has no -L flag for local files
<muradm>normally i run "guix packakge -L ~/.config/guix ...." or "guix systen -L ~/.config/guix ..." where in .config/guix i keep local stuff, then if run without -L, manifest or sysconfig simply invalid
<muradm>bricewge: for instance: guix weather -m ~/.config/guix/profiles/desktop.scm:
<muradm>no code for module (packages emacs)
<muradm>obviously
<muradm>guix package -L ~/.config/guix -m ~/.config/guix/profiles/desktop.scm works fine obviously :)
<bricewge>Yep, it would be nice for such option to be support by most guix's subcommands
<bricewge>I often call guix with such options too
<muradm>efrain: will try then before next update ) for now everything is clean
<efraim>for some of those you have to set it as the GUIX_PACKAGE_PATH instead
<muradm>bricewge: i end up in using -L for every command, thus weather became useless
<efraim>in vim I got ':Guix help' working but not ':Guix --help'
<muradm>GUIX_PACKAGE_PATH=~/.config/guix guix weather -m ~/.config/guix/profiles/desktop.scm
<muradm>yeah that works
<muradm>adding --display-missing even lists local packages
<muradm>is (operating-system ...) a manifest? can be specified for weather?
<muradm>efrain: GUIX_PACKAGE_HOME is useful, thanks
<boeg>Powertop suggests i fix the dirty_writeback_centisecs setting to improve battery life, and it does it like this: echo 1500 > /proc/sys/vm/dirty_writeback_centisecs. So to persist this, I have modified %desktop-services in my config and rebuild like this: https://paste.debian.net/1202558/ and no errors, but it doesn't work. Any ideas?
<boeg>I also tried to look for /etc/sysctl.conf in / and /run and so on to see if the value was correct there, but couldn't find it.
<bricewge>boeg: Have you rebooted?
<boeg>bricewge: I have
<bricewge>Hum, strange your configuration seems correct
<boeg>hmm, bricewge do you know if ... like, i guess guix abstract sysctl so somewhere there is an actual /etc/sysctl.conf that should have my setting? If I know where it is, I could check it to see if it is there
<bricewge>The file exists for sure, but there isn't a simple way to find it as it could be done with "systemd cat service" for example
<boeg>hmm, alright
<leoprikler>you can find all the sysctl configs in /gnu/store at least, but I don't think they get mirrored into /etc
<boeg>leoprikler: alright, ill give it a try
<leoprikler>can shepherd jump to the definition of a service?
<leoprikler>Okay, I found a workaround
<leoprikler>first, locate your current shepherd config (you can do this by inspecting /run/booted-system/boot)
<leoprikler>then, find shepherd-sysctl.go in that config and copy the full path string
<bricewge>leoprikler: No, but that would be *great*
<bricewge>boeg: Here is how I found mine https://paste.debian.net/1202559/
<leoprikler>grep for that path string in /gnu/store/*-sysctl.go.drv
<leoprikler>okay, so you still don't have the sysctl set up correctly iiuc
<bricewge>That's similar to what I have done in the paste
<leoprikler>you did reconfigure tho
<boeg>leoprikler: thank you - the setting is definitely there
<boeg>i wonder why it doesnt work then
<leoprikler>how is the setting there?
<boeg>what do you mean?
<boeg>its there - in the *****sysctl.conf file
<boeg>vm.dirty_writeback_centisecs=1500 along with fs.protected_hardlinks=1 and fs.protected_symlinks=1
<leoprikler>okay, but in a different sysctl.conf than you're currently using, right?
<boeg>ohm ... I dont think so? I had configured my config.scm before and rebuild and rebooted, but powertop said the setting was not applied. But then i followed your instructions to find the sysctl.conf and the setting is definitely in there
<leoprikler>look at your paste
<boeg>what about it?
<leoprikler>it isn't listed there
<boeg>what isn't listed? vm.dirty_writeback_centisecs is, and the two other I guess is from the defaults
<leoprikler>look at your paste, now back to me, now back to your paste, now back to me
<boeg>I am
<boeg> https://usercontent.irccloud-cdn.com/file/6keboBJo/IMG_0232.JPG
<boeg>leoprikler: ^^
<leoprikler>voila, a different hash
<bricewge>If you run "sudo herd start sysctl" does the settings is correctly applied then?
<boeg>leoprikler: what are you talking about ? Of course its a different hash, its my machine, not yours? I feel like i'm misunderstanding something
<leoprikler>the hash you pasted was 7lvvzwvblzxs4ccw4f8bfz1kp4fxwxvh
<leoprikler>this one starts with 905
<leoprikler>how come it's a different hash?
<boeg>uhm, i dunno, did i paste a hash? Let me check
<boeg>sorry, where did i paste a hash other than in the screenshot? I dont see it in the history, and dont remember it.
<boeg>of course, it doesn't really matter
<leoprikler> https://paste.debian.net/1202559/
<boeg>thats your paste, not mine? (i feel stupid right now, must be misunderstanding you complete, sorry)
<bricewge>leoprikler: That's mine, with the default settings only
<leoprikler>oh, my bad
<boeg>alright, so i just did a reboot, checked powertop, setitng is not correct, then i herd start sysctl and check powertop and it is
<leoprikler>perhaps a timing issue?
<boeg>so ... i should wait longer before checking, or?
<leoprikler>Hum
<leoprikler>does shepherd log to syslog somewhere?
<leoprikler>or can it at least be configured to be a little more verbose?
<bricewge>I guess it is bug from the sysctl-service-type, its shepherd service doesn't depend on other service, it should probably at least depend of "file-systems"
<boeg>what would a "quick and dirty" local solution be until its fixed properly in sysctl-service-type?
<bricewge>Otherwise, sysctl set the settings then mounting the file system overwrite /proc/sys/??
<bricewge>You run "sudo herd start sysctl" when logging in, manually or with ~/.profile and friends
<wirez>what does "guix" mean?
<ecbrown>guile-nix
<wirez>weird name
<wirez>oh the scheme dialect?
<wirez>gnu scheme
<ecbrown>yes, guix is guile-based
<wirez>why it named guile? isn't that bad?
<ecbrown>scheming takes guile
<ecbrown>effective scheming, that is
<wirez>scheming ya another bad thing what's the deal with that
<wirez>are gnu ppl underhanded shitty ppl or what?
<wirez>like making an orm called manipulative or smth
<ecbrown>wirez: this channel isnt a gossip channel
<wirez>it's a serious question why blow off user feedback?
<ecbrown>i am sure your feedback has been received, if its the same that we spoke of last time
<wirez>well you name your prog lang guile and are scheming
<wirez>i didn't pick those names u did
<ecbrown>i did?
<leoprikler>we also use git for version control…
<wirez>well u speaking for guix dont take it personal
<wirez>ya i think that's dumb too
<leoprikler>some might even use gimp for image processing
<ecbrown>well, i'm just a guix fan and a fsf supporter
<wirez>imagine a file format called faggot
<wirez>ya gimp too, and look at it, it sucks
<wirez>no small part from its weirdo name
<ecbrown>i believe it was named that before the movie
<leoprikler>I don't think Guile and Scheme are as controversial as git or GIMP though
<wirez>guile had negative connotation for longer than computers existed
<wirez>im not comparing, you guys are
<wirez>all im saying is, why pick bad words when you coulda picked good stuff
<wirez>call it happy instead of guile
<ecbrown>because meanings can change underneath an existing project
<wirez>so pick a bad name instead of good one k good logic
<leoprikler>I mean, the info page does explain the rationale behind the naming…
<wirez>ill look forward to your "childabuse" garbage collector lib
<wirez>link?
<leoprikler>You might not agree with it being a "good" choice, but still
<wirez>dunno man i just get weirdo vibes from gnu/fsf
<wirez>creeper vibes
<ecbrown>i think you are just being slanderous
<leoprikler>info "(guile)Early Days"
<wirez>sharing how im seeing it, take it or leave it
<wirez>leoprikler: ty
<leoprikler>Even if some naming choices might be questionable, I think you're doing everyone a disservice by exaggerating and generally sounding quite aggressive.
<leoprikler>It makes it appear as though you were acting in bad faith.
<wirez>being dismissed out of hand isn't the right way of handling it
<wirez>if you can't see where i'm coming from you're not acting in good faith
<wirez>for such an inclusive project the attitude doesn't seem open at all
<tekakutli>wait wait, why was git controversial?
<ecbrown>no, my objection was to you talking about blanket fsf matters on a specific project. i dont think #guix is the right channel
<ecbrown>it is appropriate for #fsf
<wirez> https://www.gnu.org/software/guile/docs/docs-2.0/guile-ref/Early-Days.html conniver heh
<ecbrown>tekakutli: git is british slang
<tekakutli>jej, slang for what?
<ecbrown>i believe it means `uncouth person'
<tekakutli>hmmm thanks
<wirez>does using guix imply any buy in on editor front? (emacs) i like neovim
<ecbrown>nano is defacto/basic gnu editor i believe
<ecbrown>a dialect of vi is installed as well.
<tekakutli>wirez, now that guix home is comming, rde seems like even more potential for using emacs as ui
<boeg>How do i load a kernel module I have installed? I have installed the acpi-call-linux-module package so I can enable the acpi_call module.
<bricewge>You can use kernel-module-loader-service-type
<boeg>thansk
<tekakutli>wirez forget it, seems like andrew added vim support to rde as well
<MysteriousSilver>Hello! when scrolling down in touch pad, the content moves up in icecat and moves down in other applications
<MysteriousSilver>any idea how to customize it?
<boeg>what is rde, tekakutli ?
<tekakutli>the equivalent of what doom is to emacs
<tekakutli>very very early concept
<tekakutli> https://youtu.be/6yrYWjjuIOs
<boeg>thank you, tekakutli
<ecbrown>MysteriousSilver: on my guix system desktop with icecat and gnome, my scrolling direction is the same
<ecbrown>"natural scrolling" i believe it is called. i do not know why icecat is different than gnome, in your case. i would first reboot the system to make sure icecat is picking up right settings
<ecbrown>(in case you just installed it, and for some reason its not getting the right settings)
<MysteriousSilver>i'll try rebooting
<MysteriousSilver>i don't use gnome, is there a way to change the scroll settings?
<ecbrown>MysteriousSilver: we don't know which desktop you are using. also, it may not be a guix thing
<MysteriousSilver>stumpwm, im using GuixSD
<ecbrown>(a fine wm might i add :-)
<leoprikler>wirez: just for the protocol, I do see where you're coming from (hence my mentioning of gimp and git), but I don't think you're presenting a good case, what with the comparison to child abuse (perhaps this is a nod to the abort joke, but I personally disagree with conservative views on women's bodily authority, so yeah)
<MysteriousSilver>tbh i still do not know what do gimp git and guile mean outside technology
<ekaitz>MysteriousSilver: better that way, they are just names
<ekaitz>MysteriousSilver: did you solve the issue with icecat?
<irfus>MysteriousSilver: you can add libinput settings to a xorg conf block to set scrolling direction
<MysteriousSilver>ekaitz: i still have some work to do, will restart later
<MysteriousSilver>but i prefer having icecat like scrolling outside it
<MysteriousSilver>irfus: how do i do it?
<ekaitz>MysteriousSilver: I let me link you my config, I have something similar
<ekaitz> https://gitlab.com/ekaitz-zarraga/guix-configuration/-/blob/master/config.scm#L103
<ekaitz>this is how I manage my touchpad settings
<ekaitz>you might need to find the settings for the scroll, which I don't remember the name
<irfus> http://ix.io/3rgA
<ekaitz>that's it!
<irfus>MysteriousSilver: add something like ^ or what ekaitz said
<MysteriousSilver>thank you!
<irfus> http://ix.io/3rgB
<ekaitz>MysteriousSilver: I'll be here the whole day, so if you give it a try and you have any issue ping me and i'll try to help you
<irfus>also add ^ to the services block to actually add the libinput stuff to xorg.conf
<boeg>I'm using the %desktop-services in my services list in my config, but bluetooth doesnt work. Do I need to enable it or should it just be working per default?
<ekaitz>boeg: I don't know why I have this thing in my config: https://gitlab.com/ekaitz-zarraga/guix-configuration/-/blob/master/config.scm#L94
<ekaitz>not sure if my bluetooth works anyway haha
<boeg>ekaitz: hmm, interesting ... i see in the manual that default it #f for auto-enable
<ekaitz>I think it does but I have some misconfiguration issues in the userspace
<boeg>ill try adding that but :)
<ekaitz>yeah... I know...
<irfus>might also need to install bluez and/or bluez-utils for userspace tools
<irfus>I never got it to work, though :()
<ekaitz>me neither
<ekaitz>I'm able to pair a device but not to play
<ekaitz>music)
<MysteriousSilver>how should i mount a ntfs filesystem with write permission?
<MysteriousSilver>from what i know one should install a package called ntfs-3g
<MysteriousSilver>should i mention ntfs-3g instead of ntfs in configuration?
<irfus>MysteriousSilver: not in the mount options, afaik
<MysteriousSilver>ekaitz irfus: scrolling works fine now
<MysteriousSilver>thanks:)
<ekaitz>great!
*ecbrown publicizes packages emacs-xhair, emacs-cursor-flash, libcint, libint/libint1, and xcfun
*ecbrown and adds python-pyscf
*ecbrown publicizes critic2 libxc
<leoprikler>MysteriousSilver: either use ntfs-3g directly or add it to your OS packages field
<char>guix pack seems to do almost what I want to do except it packs in a bunch of garbage (mostly empty) directories in the archive.
<MysteriousSilver>Hello! How do i append an extra entry to grub.cfg?
<MysteriousSilver>leoprikler: thanks
<leoprikler>see the menu-entry stuff in the manual
<tissevert>hi guix
<MysteriousSilver>leoprikler: is it possible to boot non-gnu operating systems with (menu-entry)?
<MysteriousSilver>tissevert: o/
<tissevert>\o
<Aurora_v_kosmose>I know that grub can detect Windows.
<Aurora_v_kosmose>Whether it can detect Mezzano and BeOS is another question
<MysteriousSilver>afaik guix doesn't support os-prober
<leoprikler>afaik guix menu-entry only understands linux, but if you patch your guix you can make menu-entry do whatever you want
<Aurora_v_kosmose>MysteriousSilver: Ah I see
<MysteriousSilver>> if you patch your guix
<MysteriousSilver>how?
<leoprikler>git clone, then edit gnu/system.scm
<leoprikler>that or use an extension to do your own system command
<leoprikler>or no, gnu/bootloader.scm is more important here
<MysteriousSilver>sounds complicated
<boeg>So my GUIX system stopped working. I was changing my config and rebuilding and while rebuilding, suddenly the screen went black with only a white cursor. I had to force the it to powerdown and now when booting, it just loads and then reboots, no real indication as to the problem. I tried choosing earlier builds in the GRUB menu, and they get a lot farther - they get to the point where normally GDM appears as the next step, but that never
<boeg>happens, it just stalls, no indication as to why
<boeg>I have tried switching TTY to be able to have some kind of control, but nothing seems to be working
<MysteriousSilver>leoprikler: can't there be a easier way to like, say, append some lines to grub.cfg?
<leoprikler>well, guix supports other bootloaders as well, so adding support for just grub would be a bit eh…
<boeg>any idea what i can do to get some control back and maybe be able to rebuild?
<leoprikler>that said, if you just want enhance grub to do a thing, you might want to call gnu/bootloader/grub.scm's grub-configuration-file (with some modifications to add extra lines) on your own
<leoprikler>boeg can you get to a point where you can inspect the logs to see what's wrong?
<leoprikler>also does nomodeset help you
<boeg>well, the old configs just looks normal although they stall
<boeg>i think they are no help
<boeg>and the new one ... its looks normal except then it writes "rebooting" or something - happens really quick and reboot done
<boeg>ill try with nomodeset
<boeg>think i have to make a recording to read whatever there is of output
<Aurora_v_kosmose>Right so. For a new setup I'm hesitating between Debian, Guix and Qubes.
<pkill9>why not qubes with debian and guix? best of all three worlds :P
<Aurora_v_kosmose>Been thinking of it, but I'm somewhat wary of how Qubes seems to have nothing to prevent a sandbox escape from making dom0 insta-pwn'd
<Aurora_v_kosmose>Which libvirt + sVirt can do.
<boeg>So the output I get is this, leoprikler, which doesnt reveal anything to me at least:
<boeg> https://usercontent.irccloud-cdn.com/file/Nmqi468E/IMG_0237.PNG
<boeg>well, other than the boot program terminated
<boeg>So any ideas how to recover ? 😅
<civodul>hey there! i'm looking for feedback on https://issues.guix.gnu.org/49169 (removing input labels)
<civodul>Sunday's a good day to take a look :-)
<boeg>oh well, guess i'm just gonna do a clean one then 😅
<yoctocell>civodul: with your patches applied, i am not able to compile the scheme modules, error: failed to load 'gnu/packages/bison.scm': ice-9/eval.scm:293:34: In procedure abi-check: #<record-type <origin>>: record ABI mismatch; recompilation needed
<efraim>Probably need to make clean and make again to really test
<yoctocell>efraim: ah, will try
<cbaines>civodul, the Guix Data Service seems happy with the changes in #49169, at least I can see the 10431 new input-labels lint warnings https://data.guix-patches.cbaines.net/revision/47f85c53d954f857b45cebefee27ec512d917484
<leoprikler>boeg hahaha, you could try --repl, but other than that no
<leoprikler>the way you're describing it does sound like sudden hardware failure, though – my first real guix machine died because of a broken hard disk
<boeg>Yeah, well, the drive has been wiped 👌
<sawshep>anyone gotten gpg to work? I'm importing my keys and gives an error that pinentry does not exist, even though I've installed it.
<ixmpp>Restart your gpg-agent maybe
<sawshep>By default gpg-agent tries to use /bin/pinentry. I had to set it to my profile's pinentry
<mekeor>sawshep: you could try to put "pinentry-program /home/user/.guix-profile/bin/pinentry-gtk-2" or so in your /home/user/.gnupg/gpg-agent.conf if you use pinentry-gtk2
<nckx>Morning Guix.
<mekeor>morning nckx
<boeg>Why did I end up having to build linux while installing guix on my machine? Shouldn't there be a substitute for it?
<leoprikler>there are a number of influencing factors here, but for the record, you do get substitutes for other stuff
<yoctocell>civodul: re input labels: i noticed that in a lot of the cases the label just drops a prefix from real package, e.g., `magit' instead of `emacs-magit', or `chipz' instead of `sbcl-chipz'.
<raghavgururajan>Hello Guix!
<mekeor>hello raghavgururajan :)
<sawshep>I've made a package recipe, but how do I decide which module to put it in to make a PR?
<mekeor>sawshep: what package is it? :D
<sawshep>mekeor: whoops, probably should have specified. It's a typeracer like program for the terminal written in python
<leoprikler>raghavgururajan: regarding 49238, we typically use @pattern@
<leoprikler>is it primarily a game or primarily a python utility?
<raghavgururajan>Ah gotcha!
<sawshep>leoprikler: It's a typing game
<leoprikler>games it is then :)
<raghavgururajan>To find and watch PeerTube or YouTube videos from the terminal, with thumbnails.
*raghavgururajan is confused
<sawshep>Is there an order to the package definitions within the modules? They don't seem to be in alphabetical order
<mekeor>i would also like them to be in alphabetical order, personally
<leoprikler>raghavgururajan: sorry, my reply to sawshep was interleaved with my reply to you
<leoprikler>I too like alphabetical order, but topical order is also nice imo
<leoprikler>also sometimes (*cough* java.scm *cough*) a certain order is enforced by dependencies
<leoprikler>sneek, later tell sawshep adding stuff where it fits alphabetically is mostly a good idea, but sometimes things are in topical order (e.g. a bunch of packages are stuffed together because they're used alongside each other). As long as you don't put things at the end provoking merge conflicts people will be happy.
<sneek>Got it.
<boeg>Is there some service type that allows you have to automatisk mounting of external usb drives and so on, like you get automatically if you run full fledged gnome?
<boeg>something that fits other more minimal DE's like i3
<yoctocell>sneek, later tell civodul i managed to decrease the number of warnings by around 1700 by adding some additional rules for matching labels: https://paste.sr.ht/~yoctocell/2edf4f5b7de0ca7c818ffcb2ee315a4c61132ff1
<sneek>Will do.
<raghavgururajan>leoprikler: No worries! :)
<raghavgururajan>boeg: For auto-mounting, [1] Extract the following tarball into ~/.config [2] Run `shepherd` in terminal after every system startup
<raghavgururajan> https://share.raghavgururajan.name/rg/vqRx4JQ5PuKbwAIV/shepherd.tar.gz
<raghavgururajan>boeg: To learn more, https://guix.gnu.org/en/blog/2020/gnu-shepherd-user-services/
<raghavgururajan>Hope that helps. :)
<boeg>raghavgururajan: ah great! I just found udiskie and ran it manually as a background service
<boeg>running it with shepherd is much better :)
<raghavgururajan>Cool!
***lukedashjr is now known as luke-jr
<boeg>raghavgururajan: do you really need to manually run shepherd?
<raghavgururajan>boeg: Yep!
<boeg>alright
<raghavgururajan>boeg: The shepherd 'root' service is automatically run as PID 1. To sheperd 'user' service, you have to run manually.
<boeg>alright
<raghavgururajan>s/To/For
<boeg>i guess one could add it to .xinitrc or something
<raghavgururajan>May be.
<raghavgururajan>I would like to run that automatically as well. So open to ideas.
<efraim>I have this in my .bash_profile
<efraim>if [[ ! -S ${XDG_RUNTIME_DIR-$HOME/.cache}/shepherd/socket ]]; then
<efraim> shepherd
<efraim>fi
<civodul>cbaines: thanks for the Data Service info! 10K warnings is gonna be tedious to work with :-)
<sneek>Welcome back civodul, you have 1 message!
<sneek>civodul, yoctocell says: i managed to decrease the number of warnings by around 1700 by adding some additional rules for matching labels: https://paste.sr.ht/~yoctocell/2edf4f5b7de0ca7c818ffcb2ee315a4c61132ff1
<civodul>yoctocell: nice! i'm going to add a --ignore-label-mismatch option
<civodul>in those cases, restyling will change the derivation, but sometimes it's OK
<civodul>(often)
<civodul>cbaines: i'm looking at https://data.guix-patches.cbaines.net/revision/47f85c53d954f857b45cebefee27ec512d917484/lint-warnings?locale=en_US.UTF-8&package_query=&linter=input-labels&message_query=&field=linter&field=message&field=location
<civodul>can we know how many packages are affected? (there's often more than one warning per package)
<cbaines>civodul, the data is there, I count 3560 packages https://paste.debian.net/plain/1202593
<raghavgururajan>efraim: Nice!
<raghavgururajan>efraim: By any chance do you know how to start X as a shepherd-user-service, in tandem with having xorg-server-service-type in the system?
<civodul>cbaines: ah thanks! 3.5K is reasonable
<civodul>means we can silently restyle 80% of the packages (silently = derivation unchanged)
<civodul>(my jq foo is still too limited!)
<raghavgururajan>leoprikler: `grep -i 'pattern' yields confusing results. Do you happen to know an example for using @pattern@.
*raghavgururajan kinda remembers someting from telegram days
<boeg>Alright, i managed to break guix again
<zacchae[m]>Doesn't guix have an undo?
<boeg>I even did a dry run of building the config - no errors, everything looks good, but as i build the config for real, while building, suddenly black screen with blinking cursor and now i cannot recover the system yet again
<boeg>zacchae[m]: seems guix is just not good enough for my breakage skillz :P
<dstolfa>boeg: what are you trying to do, and do you have any third party channels?
<zacchae[m]>boeg: lol. The way you said it implies that you had it working before. You should be able to choose an old config from grub
<boeg>i'm trying to remove %desktop-services because i want to try out sway
<boeg>zacchae[m]: well, i can install guix from new, then try out my config and it breaks again
<dstolfa>boeg: does wayland gnome work for you?
<dstolfa>(the default on guix is x11)
<boeg>dstolfa: haven't tried - i'm just going out from an old config i have from 1,5 years back, removing some stuff, adding some stuff. But for some reason, it breaks everything
<boeg>like i cannot even boot old configs
<boeg>and the new configs build is just a reboot loop
<dstolfa>it might be worth trying doing gnome-wayland with SDDM just to make sure that works and it's not something that went horribly wrong with a driver
<dstolfa>if that works, then at least we can rule out a driver issue
<zacchae[m]>boeg: I actually had trouble with this too and gave up. Anyone know how to find the value of %desktop-services or similar? Ideally, to migrate one would expand %whatever and replace one thing at a time
<zacchae[m]>the docs sumarrize what's in them, but are not explicit
<boeg>yeah ... so this is just me thinking but what does the system need for it to boot into a TTY?
<dstolfa>zacchae[m]: yes, give me a second :)
<dstolfa>zacchae[m]: https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/services/desktop.scm#n1187
<boeg>becuase maybe i have removed that part which is why i get a reboot loop
<dstolfa>this is %desktop-services
<dstolfa>boeg: %base-services is probably what you want
<boeg>i have %base-services
<boeg>i have this:
<boeg>these are the services that when i apply, it breaks: https://paste.debian.net/1202613/
<boeg>and i changed it from this with %desktop-services: https://paste.debian.net/1202614/
<boeg>the last one there works
<boeg>gives me GDM with xfce and EXWM DE
<boeg>the first one breaks the system
<boeg>breaks as in i cannot recover it. Have to make a new guix installation
<leoprikler>raghavgururajan: webkitgtk
<boeg>actually - this time i got into a TTY
<leoprikler>you can delete single services from %desktop-services using SRFI-1 delete – there's an example of that in the manual
<leoprikler>victory fanfare!
<boeg>leoprikler: think i'd rather just build off %base-services, if i can get it working
<boeg>alright, it works
<boeg>i just get a tty where i can login
<leoprikler>understandable
<civodul>cbaines: i posted my Guix Data Service client module
<civodul>let's see if we can be creative and do something fun with it :-)
<cbaines>civodul, cool, that looks really neat :)
<raghavgururajan>leoprikler: 👍️
<Telc[m]>has anyone looked into getting systemd working in guix? are there philosophical barriers or is it just not a priority yet?
<dstolfa>i don't think there are any philosophical barriers, it's just that systemd doesn't really fit guix's design all that well with the whole guile thing. there is a patch on the mailing list for user mode systemd (not as init)
<leoprikler>baby steps :)