Re: [RFC] refactoring extra-special-file; an /etc/tmpfiles/ equivalent

2023-02-10 Thread Attila Lendvai
> FTR, the "guixy way" currently is to add a service like this: as mirai kindly instructed me on IRC, even though it's a somewhat widely spread solution, this has issues, as documented in: https://issues.guix.gnu.org/60657 instead, the proper way is to add a full-fledged one-shot shepherd servic

Re: [RFC] refactoring extra-special-file; an /etc/tmpfiles/ equivalent

2023-02-10 Thread Attila Lendvai
> i want to write a string into a file at boot to disable wake-up by > my keyboard (so that it doesn't immediately wake up my laptop after > i suspend it). it requires doing this once per boot: > > echo XHC >/proc/acpi/wakeup > > the standard solution on systemd distros is to use a > /etc/tmpfiles

[RFC] refactoring extra-special-file; an /etc/tmpfiles/ equivalent

2023-01-21 Thread Attila Lendvai
hello Guix, context 1: i want to write a string into a file at boot to disable wake-up by my keyboard (so that it doesn't immediately wake up my laptop after i suspend it). it requires doing this once per boot: echo XHC >/proc/acpi/wakeup the standard solution on systemd distros is to use a