<davexunit>dmd reads config from $HOME/.dmd.d/init.scm by default.
<lfam>Is that documented anywhere besides the source code? I've been struggling to grok dmd / shepherd, and finding this file really helped.
<lfam>Or at least, it showed me that I can make really simple services, like your gpg-agent service, which I wasn't sure how to do before
<lfam>Unless I missed some obvious documentation, it would be good to put an example of that in the manuals for dmd / shepherd and maybe GuixSD
<davexunit>my service definitions aren't perfect. some of them don't interact with 'deco' as well as they should, but it's a good start.
<lfam>At least they clearly show how to invoke a basic command line, with start and stop actions. I'm going to play around and maybe produce a docs patch for a minimal service, just to help new users get started.
<CompanionCube>I have to say, 'dmd' is a nice acronym even if it's not the actual name anymore
<jayforsythe>`guix-daemon --build-users-group=guixbuild` never returns
<mark_weaver>civodul: in my message about the core-updates merge, I neglected to add the question: what do you think? (so I ask now :)
<mark_weaver>on core-updates right now, there are ~54 queued jobs each for x86_64 and i686, and 477 for armhf. (I don't much care about mips64el anymore)
<mark_weaver>but my biggest concern is the number of newly-failed builds, many of which are packages that I suspect have more than a few users.
<mark_weaver>petter: thanks for the updated draft! it mostly looks good to me. after suitsmeveryfine makes his revisions (or perhaps even before), would you like to post this to firstname.lastname@example.org for review?
<civodul>mark_weaver: the Qt5 issue is probably a blocker, hopefully the last one :-)
<civodul>alezost: thanks for the shepherd patch flow! :-)
<alezost>civodul: my pleasure ... well, not really, but yeah, I just wanted to switch my user config from dmd to shepherd. (Sigh) also there are many places in Guix where "dmd → shepherd" conversion should be performed
<civodul>in (gnu services dmd), i think we'll have to keep "shepherd" in identifiers
<civodul>because we really want to make it clear what kind of "service" we're talking about
<alezost>civodul: yeah, I'll keep renaming :-) I mean in guix source
<NiAsterisk>would it make sense to include the word "firewall" in the description of iptables? you habe to specifically search for iptables because a simple search for firewall does not include iptables. this is not really problematic, but it would be a minor improvement. would it be okay if I tried and work on the description and send in the patch later?
<NiAsterisk>i tried to look at it from the perspective of a GNU beginner, not my own
<mark_weaver>Kabelo: the configs we use generally specify that the root partition is found by volume label, so if you didn't set the label (via -L to mkfs.ext4, or via e2label), then it won't be able to find it.
<Kabelo>K. But the label is set I think, because when I launch a GRUB command line and type
<mark_weaver>I suppose it might be that our initramfs lacks a module that's needed to access your flash drive.
<NiAsterisk>Is putting names in the header not really necessary for small fixes like adding one or two descriptive sentences to a package?
<mark_weaver>NiAsterisk: you want to avoid putting your name there?
<NiAsterisk>no, i'm just curious if every contribution needs a name
<NiAsterisk>not for avoiding names, but for curiosity about when one needs to include names
<NiAsterisk>what if I changed just 2 words and did no bigger changes in that file. would I still put my name in the header?
<mark_weaver>I don't know the definitive answer. maybe ask civodul. but from my perspective, if the files are changed by you but your name isn't on it, then that suggests that the other people in the header authored that text, and that feels wrong to me.
<mark_weaver>efraim: the SATA connector on the Novena has both data and power together, such that you can plug the drive directly into it. are SATA cables readily available that include both data and power, female to male?
<wgreenhouse>mark_weaver: thanks, this looks very relevant indeed
<mark_weaver>efraim: I suppose maybe such a thing exists, but I'm having trouble finding it. most of the SATA power cables I find assume that the motherboard end plugs into a power supply with a different connector type.
<wgreenhouse>mark_weaver: technically you're probably looking for eSATA (external SATA) if the port carries data and power together
<suitsmeveryfine>Hi! I have a question regarding previlegies. I just installed redshift which can automatically modify screen brightness depending on time of day. In other distros I can run this as a user but here it only works if I run it as sudo. Am I doing things wrong?
<davexunit>suitsmeveryfine: perhaps your user needs to be added to a particular group in order for it to work?
<suitsmeveryfine>I see! Thanks for this thought. I'll do some reading regarding the groups
<rekado>does it access a device somewhere under /dev? Maybe the ownership of that device could be modified with a udev rule.
<mark_weaver>suitsmeveryfine: if it's normally installed setuid root, then you could add it to the 'setuid-programs' field of your OS declaration, but if it's not important that you be able to run it directly from your normal user, I'm not sure it's worth the potential security risk that setuid-root programs bring.
<suitsmeveryfine>How do you other deal with things like this? For example, are you able to modify the theme in Xfce?
<suitsmeveryfine>It freed 500 MB and then the GRUB background image disappeared, prolonged the booting process, caused the battery indicator in Xfce to warn constantly that the battery was almost empty.
<lfam>Didn't you have to do something "unusual" with GRUB? It may be that something that should be a registered "garbage collector root" did not get registered
<suitsmeveryfine>after this I tried to reconfigure the system as a way to recover but it regused
<suitsmeveryfine>Lfam: well, yes I did one thing unusual because I'm running libreboot
<lfam>Basically, certain things are automatically registered as roots, so they are not garbage collected. But you can also add them manually by linking them to /var/guix/gcroot or building them with `guix build --root`. I'm not sure what other commands have the `--root` option.
<lfam>So, /var/guix/profiles is linked into that directory so that anything in a profile on my system is protected from garbage collection
<lfam>It's worth figuring out why it didn't work for you and if that is a consequence of your arduous installation or if other users could have the same problem
<lfam>Okay, since you have ironed out the installation wrinkles, I'd let sleeping dogs lie unless the problem recurs. Hopefully nobody every has to go through what you went through ;) Thank you for persevering
<lfam>The garbage collector runs automatically in the background btw
<lfam>They happen when multiple '/gnu/store' directories that are symlinked from your profile contain the same path. For example, the packages for GNU Parallel and Moreutils both contain the path '/bin/parallel', although those programs are different. When symlinking both into your profile, the system sees the duplication and chooses one of them arbitrarily, since you can't have two of the same paths '~/.guix-profile/bin/parallel'
<lfam>symlinked *to* your profile? Not sure how to say it
<lfam>And the path would be better written as 'bin/parallel'
<lfam>So, for you, multiple packages in your profile contain the same-named icons, and the system has to pick one.
<mark_weaver>suitsmeveryfine: ah, what happened there was that your initial install with "guix system init" failed at the end due to GRUB noticing that it wouldn't be able to access its modules in /boot during its early initialization, because it's encrypted.
<lfam>But in the parallel case, it could be disastrous since those programs are completely unrelated in their implementation.
<mark_weaver>please, next time, don't feel the need to reinstall the system from scratch. please ask us and wait for us to help you before doing such a thing. Guix is not the kind of system where such a thing is necessary, because of its purely-functional nature.
<mark_weaver>it is not like most distros where everything is in a mutable filesystem and things can get messed up that will never quite be the same as they were on a pristine system.
<lfam>What do you think about putting an example like this (maybe with a little more detail) in (info "(dmd) Service Examples")? To a Scheme newbie, the service examples in gnu/services are daunting. It could be helpful to show new users just how easy it can be
<lfam>Ah, interesting! mcron converts the vixie-cron format to s-expressions automatically
<suitsmeveryfine>Can I create a swap file like this and then just enter the absolute path to `swapfile` in the OS config: `dd if=/dev/zero of=/swapfile count=2048 bs=1M`