mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 12:05:19 -06:00
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> |
||
|---|---|---|
| .. | ||
| admin.scm | ||
| audio.scm | ||
| auditd.scm | ||
| authentication.scm | ||
| avahi.scm | ||
| backup.scm | ||
| base.scm | ||
| certbot.scm | ||
| cgit.scm | ||
| ci.scm | ||
| configuration.scm | ||
| containers.scm | ||
| cuirass.scm | ||
| cups.scm | ||
| databases.scm | ||
| dbus.scm | ||
| desktop.scm | ||
| dict.scm | ||
| dns.scm | ||
| docker.scm | ||
| file-sharing.scm | ||
| games.scm | ||
| ganeti.scm | ||
| getmail.scm | ||
| guix.scm | ||
| herd.scm | ||
| hurd.scm | ||
| kerberos.scm | ||
| ldap.scm | ||
| lightdm.scm | ||
| linux.scm | ||
| lirc.scm | ||
| mail.scm | ||
| mcron.scm | ||
| messaging.scm | ||
| monitoring.scm | ||
| networking.scm | ||
| nfs.scm | ||
| nix.scm | ||
| pam-mount.scm | ||
| pm.scm | ||
| rsync.scm | ||
| samba.scm | ||
| science.scm | ||
| sddm.scm | ||
| security-token.scm | ||
| security.scm | ||
| shepherd.scm | ||
| sound.scm | ||
| spice.scm | ||
| ssh.scm | ||
| syncthing.scm | ||
| sysctl.scm | ||
| telephony.scm | ||
| upnp.scm | ||
| version-control.scm | ||
| virtualization.scm | ||
| vnc.scm | ||
| vpn.scm | ||
| web.scm | ||
| xorg.scm | ||