<gabber>i wonder: is this a bug (i have my doubts)? am i abusing the copy-build-system for what it's certainly not designed to be (i'm like 28% sure)? would a simple-script-build-system be something Guix as a project might enjoy? or should maybe the trivial-build-system section in the manual be extended to host an example or two of how to make scripts install and work with it?
<futurile>efraim: hmm - never thought of that - I currently rsync materials but don't get version history (and I find rsyncs syntax odd so have to look it up every time!)
<efraim>I use it for my family photos. Offsite is my parent's house, with an old laptop. They're also encrypted in S3 compatible storage online so I don't need to have all of them on each machine.
<efraim>A full recovery would be `git clone, cd, git annex init, git annex remoteadd, git annex sync --content`
<janneke>futurile: not really, mail is stored in imap and photos i sync from time to time between mulptiple machines
<efraim>also the files are viewable as-is, so if I die and my machine gets broken they're still viewable in a file browser on the offsite machine
<dcunit3d_>Can guix packages written to validate a download using a GPG signature/keyring? In the manual, I don't see references to 'keyring' and i guess supporting this means distributing pubkeys
<cartographic>jpoiret: Picking up from last night, I must admit I'm still confused about how to set my locale properly. I would have expected `export GUIX_LOCPATH=$HOME/.guix-profile/lib/locale` to do the job, after a `guix install glibc-locales`, but no luck.
<Kabouik>Anyone else seeing a significant CPU hog with Telegram-desktop on Guix?
<Kabouik>Actually bpytop doesn't report a huge CPU use (0.3%, plus I run telegram-desktop with `cpulimit -l 35` to mitigate the issue a bit), but somehow my fan speed is very different whether telegram-desktop is running or not. I never observed that on other distributions but maybe I just didn't look.
<Kabouik>htop reports 2 to 3%. Weird that it's not the same values, but hey.
<jpoiret>cartographic: yes, that's what I would also expect
<jpoiret>dcunit3d_: having the hash is enough to verify it, no?
<jpoiret>unless you're fetching it with git-checkout ofc
<cartographic>The GUIX_LOCPATH environmental variable in my guix-daemon.service is pointing to a guix profile which doesn
<cartographic>...which doesn't exist. `/var/guix/profiles/per-user/root/guix-profile/lib/locale`. Swapping out /root/ for my username would at least resolve properly. Though a) I'm not sure why I need to do this all of a sudden and b) I'm not sure how to restart guix-daemon to load it?
<cartographic>I think so... once this guix pull has finished i'll have another try!
<futurile>cartographic: maybe it's obvious, but you're clear that the daemon uses the instance of guix that is in roots profile. And separately, your user has their own profile. So you have to install glibc-locale into roots 'profile', and into your own users 'profile'.
<cartographic>So doing both `guix install glibc-utf8-locales-2.29 glibc-locales` and `sudo guix install glibc-utf8-locales-2.29 glibc-locales` hasn't helped.
<futurile>you probably need to get back to the default profile
<dcunit3d_>jpoiret: yes, i just went with that. i'm trying to put together a package for regpg. repology says that only nix has packages for it, but i'm not sure why more people don't use it. the usecase is niche, but the tool is useful and i learned a ton by making notes on its manpages.
<nckx>I restarted it but am not in a position to investigate.
<FaelGil>Hi everyone! I'm a begginer using Guix SD and I just managed to get it working (I'm typing this on it, yay!), but I would like to remove some preinstalled packages on my default gnome. I tried the docs, but couldn't find anything about how to configure the gnome-desktop-service-type to not install specific packages (e.g. the gnome-text-editor).
<FaelGil>Does anybody knows how to do that? Thanks!
<zamfofex>FaelGil: You have to modify the ‘gnome’ package.
<nckx>It's not beginner-trivial (sorry) but the gist is: you set the 'gnome' field of 'gnome-desktop-configuration' to a (package (inherit gnome) (propagated-inputs (modify-inputs (package-propagated-inputs gnome) (delete [STUFF])))))
<nckx>One can dream that a Guile daemon will facilitate adding such cool features (you can't just 'drop to the terminal' when a build breaks, it's not that simple).
<gabber>yeah, i know. it's not even about this failure-proof-in-the-worst-case-scenario-you're-still-in-some-repl lisp-machine nostalgia - more like: can i (without anything breaking) invoke that repl from a (new) build phase to inspect what has and hasn't happened?
<jpoiret>gabber: i don't think so, the output you're seeing is traveling through multiple pipes, managed by the daemon
<jdek>I ran `guix system image -t wsl2 ./test.scm` on an ubuntu machine, imported the resultant rootfs to wsl. Within this new guix installation, am I able to access the 'current configuration' somehow?
<gabber>jdek: is it possible that link doesn't load without JS? unfortunately i have 0 experience with NixOS
<jdek>oh sorry. here's what it says: If enabled, copies the NixOS configuration file (usually /etc/nixos/configuration.nix) and links it from the resulting system (getting to /run/current-system/configuration.nix)
<gabber>ah, that's a service or something similar, then?
<gabber>what are you trying to do, exactly? do you just want to modify and re-configure the system you have?
<jdek>pretty much, but I want a copy of the configuration of each generation
<gabber>i think you might need a little bit of shell-scripting-magic for that - but it shouldn't be too hard
<jdek>right, something like a oneshot service I guess?
<gabber>no, more like a $(guix system list-generations | grep "configuration file:")
<gabber>so you just take the one you've configured from
<jdek>right, lemme try that and see what generation 2 looks like
<jdek>This is what I used to generate the rootfs (guix system image -t wsl file.scm), in the new system using guix system reconfigure file.scm results in 'gnu/system.scm:866:2: error: missing root file system', is there a import I'm missing? https://www.irccloud.com/pastebin/FFWVs2Oz/test.scm
<gabber>jdek: come to think of it, i'm not sure what you're trying to do: reconfiguring a system would imply writing a whole operating system (with a bootloader) to disk, which might not be what you want to do
<jdek>right, probably a mismatch in what I'm expecting. In nixos the entire system is configured from one file and if you need to install software then you edit that file and then reconfigure the system which would diff the expected configuration with the current configuration and then only install that one piece of software
<jdek>I see that I can install software with guix install, but how would I do something like edit users?
<jdek>>User accounts and groups are entirely managed through the operating-system declaration.
<jdek>wouldn't this imply that I have to reconfigure the entire system?
<jackhill>It looks like QA might not have picked up the patches correctly for https://qa.guix.gnu.org/issue/66887 I'm not the original subitter though, and not exactly sure why (when I had this problem, I hadn't gotten the threading right). What's the right thing to do, whould I reach out to the submitter?
<gabber>jdek: adding users happens by changing the system configuration and reconfiguring. i'm sorry, i have no clue about WSL
<gabber>like: i have some CI set up with jenkins (bah) where i don't need to `guix pull` manually - i just prepend my guix build commands with a `guix time-machine -C channels.scm` and know the right point in (guix) history is in use
<futurile>yeah still getting my heard around that - I got quite confused about times when I had to do `guix pull` vs using time-machine to get into a shell
<gabber>do we have some "write your own shepherd service (extension)" for dummies somewhere? or maybe a suspiciously simple example (or two) for after-hour hackers?
<jackhill>cbaines: thanks. I've gone ahead re-sent. Hopefully I did it right 🤞🏼️
<futurile>voroskoi: sorry, no clue - I guess you have to look through packages and see if you can find someone doing something similar. Or stick with loosening the requirement using your text transformation (the line you've commented out). I've only done a text transformation like you did.
<voroskoi>futurile: well, thanks for taking a look at it
<futurile>voroskoi: I guess you could say ^0.2.148
<ieure>It is free, but I'd never use it. IMO, using *any* Chrome/Chromium browser helps Google's stranglehold on the open internet.
<ieure>It is free, but it's also part of a larger system of control. I do not recommend it.
<zamfofex>Ideally, I feel, we could have Chromium forks that become independent of Chrome’s own decisions. But in practice, it’s a very arduous task maintaining a browser independently of what it was forked from.
<Guest25>Weird problem, my sound in youtube in chromium only works, when I start icecat before. And in icecat sound works great .