guix-mirrors/gnu/services
muradm ee0d1b144c
services: greetd: Improve greeter configurations.
This improvement focuses on providing common user session scripts
for use by multiple greeters. Now user session entry point is
factored out into '<greetd-user-session>', which can be reused
as is with different greeters. By default it uses 'bash' as
first user process. Then user normally starts additional programs
with '.profile' or '.bashrc'. Using 'command', 'command-args' and
'extra-env' one can specify something else, which could be
'dbus-session' wrapped process, some desktop environment or else.
While the above is possible, one is still encouraged to use
'.bashrc', '.profile' or similar.

It also fixes incorrect use of 'XDG_RUNTIME_DIR' for 'wlgreet'.
'wlgreet' requires a compositor to run. We provide common sway based
greeter script, which can be shared by other graphical greeters.

* gnu/services/base.scm (<greetd-user-session>): Common user session
factored out, for shared use by multiple greeters.
(<greetd-agreety-session>): Switch to common user session.
(<greetd-wlgreet-configuration>): Refactor 'wlgreet' configuration.
(<greetd-wlgreet-sway-session>): Switch to common user session.
(<greetd-terminal-configuration>): Add 'extra-shepherd-requirement'
for establishing configurable Shepherd service dependency.
* gnu/tests/desktop.scm (%minimal-services): Reflect configuration
changes.
* doc/guix.texi (Base Services): Document refactoring changes.

Change-Id: I9d45a592b355eb9c438be5b1d4d15555ce4956fa
Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2025-02-06 22:26:45 +09:00
..
admin.scm services: rottlog: Deprecate. 2025-01-16 22:30:02 +01:00
audio.scm services: Switch from mcron + Rottlog to Shepherd’s log rotation. 2025-01-16 22:30:02 +01:00
auditd.scm
authentication.scm
avahi.scm services: avahi: Use socket activation and log to stderr. 2024-06-02 20:52:24 +02:00
backup.scm services: restic-backup: Implement as a Shepherd timer. 2025-01-25 00:04:27 +01:00
base.scm services: greetd: Improve greeter configurations. 2025-02-06 22:26:45 +09:00
certbot.scm services: certbot: Add certbot-configuration-package to profile. 2024-09-03 13:59:33 +02:00
cgit.scm services: cgit: Allow file-like objects for ‘root-readme’. 2023-09-09 15:54:37 +02:00
ci.scm services: laminar: Add configuration option for supplementary groups. 2023-12-28 11:02:56 -05:00
configuration.scm services: configuration: Document multiple configurations per field. 2024-10-14 14:08:43 +02:00
containers.scm services: rootless-podman: Enable I/O delegation. 2025-01-11 23:36:58 +01:00
cuirass.scm services: Switch from mcron + Rottlog to Shepherd’s log rotation. 2025-01-16 22:30:02 +01:00
cups.scm
databases.scm gnu: postgresql-configuration: Unset default postgresql. 2024-11-16 18:13:02 +01:00
dbus.scm services: polkit: Migrate to (gnu system privilege). 2024-09-08 02:00:00 +02:00
desktop.scm gnu: Remove extraneous reference to defunct mate-desktop-service. 2025-02-05 21:04:51 -05:00
dict.scm services: dico: Add symbols to help users configure FreeDict with dicod. 2025-01-26 22:09:28 +01:00
dns.scm services: dns: Minor cleanup of unbound service. 2025-01-16 12:51:48 +01:00
docker.scm privilege: Add file-like->setuid-program helper. 2024-09-08 02:00:00 +02:00
file-sharing.scm services: Switch from mcron + Rottlog to Shepherd’s log rotation. 2025-01-16 22:30:02 +01:00
games.scm services: Extend udev rules in joycond-service-type. 2024-10-07 01:20:22 +09:00
ganeti.scm gnu: Replace (almost) all uses of /run/setuid-programs. 2024-08-11 02:00:00 +02:00
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 services: Switch from mcron + Rottlog to Shepherd’s log rotation. 2025-01-16 22:30:02 +01:00
lirc.scm
mail.scm services: Refactor opensmtpd-set-gids. 2024-08-18 02:00:00 +02:00
mcron.scm services: mcron: Fix home version not respecting user PATH variable. 2024-08-28 16:37:32 +02:00
messaging.scm gnu: services: Add insecure-sasl-mechanisms to prosody configuration. 2024-03-17 12:53:21 +01:00
monitoring.scm gnu: Replace (almost) all uses of /run/setuid-programs. 2024-08-11 02:00:00 +02:00
networking.scm services: Switch from mcron + Rottlog to Shepherd’s log rotation. 2025-01-16 22:30:02 +01:00
nfs.scm
nix.scm services: nix: Fix activation. 2024-06-02 18:04:34 +03:00
pam-mount.scm
pm.scm gnu: Add powertop-service-type. 2024-11-23 16:09:25 +01:00
rsync.scm services: rsync: Provide a prettier Shepherd inetd service name. 2023-11-26 23:34:48 +01:00
samba.scm
science.scm
sddm.scm services: sddm: Adjust pass env. 2024-07-18 10:45:19 +08:00
security-token.scm services: Remove unnecessary references to (gnu build shepherd). 2023-12-22 00:31:41 +01:00
security.scm
shepherd.scm services: Add the Shepherd’s ‘transient’ and ‘timer’ to ‘%base-services’. 2025-01-26 22:09:27 +01:00
sound.scm
spice.scm
ssh.scm services: openssh: Add dependency on ‘networking’. 2024-01-08 23:14:45 +01:00
syncthing.scm services: syncthing: incorrect guessing of HOME variable 2024-08-21 19:04:25 +02:00
sysctl.scm
telephony.scm services: jami: Use ‘least-authority-wrapper’. 2023-12-22 00:31:41 +01:00
upnp.scm services: readymedia: Add trailing newline after media_dir lines. 2024-10-20 12:08:01 +01:00
version-control.scm
virtualization.scm services: Add xe-guest-utilities-service-type. 2025-01-16 12:51:48 +01:00
vnc.scm services: xvnc: Do not specify display number when using inetd. 2023-11-27 10:55:51 -05:00
vpn.scm services: wireguard: Support lists of gexps for most fields. 2024-12-06 20:09:28 +01:00
web.scm services: Switch from mcron + Rottlog to Shepherd’s log rotation. 2025-01-16 22:30:02 +01:00
xorg.scm gnu: xf86-input-keyboard: Remove Linux from supported systems. 2025-01-31 16:39:27 +08:00