guix/gnu/services
45mg 8695dcf9d2
services: elogind: Support hook directories.
Allow the user to specify scripts to be added into Elogind's hook
directories. These scripts will be run before/after
suspend/hibernate/poweroff/reboot.

Also allow setting the associated config options.

* gnu/services/desktop.scm (elogind-configuration): add
`system-sleep-hook-files`, `system-shutdown-hook-files`,
and 4 new config options.
(elogind-configuration-file): Add entries for the new config options
under the `[Sleep]` section.
(elogind-etc-directory): New procedure.
(elogind-service-type): Extend `etc-service-type` using `/etc/elogind`.
* doc/guix.texi (Desktop Services): Document the new options.

Change-Id: I7e22cbaa9d031049b9d085ba0ce4cc8a8b4f16ff
Reviewed-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-12-30 13:49:57 +01:00
..
admin.scm services: resize-file-system: Remove invalid default value. 2024-12-30 11:01:43 +01:00
audio.scm
auditd.scm
authentication.scm
avahi.scm
backup.scm
base.scm services: syslog: fix configuration file argument 2024-12-25 23:51:04 +01:00
certbot.scm
cgit.scm
ci.scm
configuration.scm
containers.scm services: rootless-podman: Fix PATH lookup for Shepherd services. 2024-12-25 23:51:10 +01:00
cuirass.scm services: cuirass: Run in a UTF-8 locale. 2024-12-12 12:52:07 +01:00
cups.scm
databases.scm
dbus.scm
desktop.scm services: elogind: Support hook directories. 2024-12-30 13:49:57 +01:00
dict.scm
dns.scm
docker.scm
file-sharing.scm
games.scm
ganeti.scm
getmail.scm
guix.scm services: guix-data-service: Support specifying configuration. 2024-12-16 09:20:40 +00:00
herd.scm
hurd.scm
kerberos.scm
ldap.scm
lightdm.scm gnu: lightdm-service-type: Add lightdm.conf to /etc/lightdm. 2024-12-16 09:54:23 +09:00
linux.scm
lirc.scm
mail.scm
mcron.scm
messaging.scm
monitoring.scm
networking.scm services: iptables: Provide a default value. 2024-12-18 18:32:41 +01:00
nfs.scm
nix.scm
pam-mount.scm
pm.scm
rsync.scm
samba.scm
science.scm
sddm.scm
security-token.scm
security.scm
shepherd.scm services: shepherd: Remove ‘call-with-{input,output}-file’ replacements. 2024-12-09 23:15:44 +01:00
sound.scm
spice.scm
ssh.scm
syncthing.scm
sysctl.scm
telephony.scm
upnp.scm
version-control.scm
virtualization.scm services: hurd-vm: Set overload-threshold to 1.8. 2024-12-10 17:43:49 +01:00
vnc.scm
vpn.scm services: wireguard: Support lists of gexps for most fields. 2024-12-06 20:09:28 +01:00
web.scm
xorg.scm gnu: set-xorg-configuration: Update code comment. 2024-12-17 18:12:22 +02:00