guix/gnu/services
r0man a7f118d062
services: xorg-wrapper: Support xorg server input rewriting.
This patch adds support for proper xorg server input rewriting. It uses the
lookup-package-direct-input procedure to configure the X server paths
dynamically, instead of always using the hard coded package. Something like
this is now possible:

(define other-mesa
  (package-input-rewriting/spec `(("mesa" . ,(const other-mesa)))))

(xorg-configuration
 (xorg-configuration
  (server (other-mesa xorg-server))))

Without this patch the X server would still be configured with mesa (causing
version issues), and not with other-mesa (as per the input rewrite).

* gnu/services/xorg.scm (xorg-configuration-server-package-path)
(xorg-configuration-dri-driver-path, xorg-configuration-xkb-bin-dir)
(xorg-configuration-xkb-dir): New procedures.
(xorg-wrapper): Use them for dri and xkb paths.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2023-03-25 10:06:36 +08:00
..
admin.scm
audio.scm services: mpd: Set PulseAudio-related variables. 2023-03-24 11:01:01 -04:00
auditd.scm
authentication.scm
avahi.scm
base.scm services: static-networking: 'eval-when' for code used at expansion-time. 2023-03-21 19:13:32 +01:00
certbot.scm
cgit.scm
ci.scm
configuration.scm services: configuration: simplify alist? procedure. 2023-03-21 09:41:42 -04:00
cuirass.scm
cups.scm
databases.scm
dbus.scm services: dbus: Deprecate 'dbus-service' procedure. 2023-03-03 17:55:35 +01:00
desktop.scm services: Add x11-socket-directory-service-type. 2023-03-21 16:53:27 -04:00
dict.scm services: dict: Deprecate 'dicod-service' procedure. 2023-03-17 23:20:36 +01:00
dns.scm services: dns: Fix cpe-id default value. 2023-03-13 17:11:08 +04:00
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 services: Add fstrim-service-type. 2023-03-22 10:09:03 -04:00
lirc.scm services: lirc: Deprecate 'lirc-service' procedure. 2023-03-03 17:55:34 +01:00
mail.scm services: mail: Deprecate 'dovecot-service' procedure. 2023-03-03 17:55:34 +01:00
mcron.scm services: mcron: Add log-file and date-format fields. 2023-03-21 14:51:24 -04:00
messaging.scm
monitoring.scm ui: 'display-hint' quotes extra arguments for Texinfo. 2023-02-27 23:40:43 +01:00
networking.scm services: network-manager: Set LINUX_MODULE_DIRECTORY environment variable. 2023-03-23 17:10:01 -04: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
sound.scm services: ladspa: Export accessors. 2023-03-07 11:39:50 +01:00
spice.scm services: spice: Deprecate 'spice-vdagent-service' procedure. 2023-03-03 17:55:35 +01:00
ssh.scm services: ssh: Deprecate 'dropbear-service' procedure. 2023-03-03 17:55:33 +01:00
syncthing.scm
sysctl.scm
telephony.scm
version-control.scm
virtualization.scm
vnc.scm
vpn.scm services: vpn: Deprecate 'openvpn-client-service' & 'openvpn-server-service' procedures. 2023-03-03 17:55:34 +01:00
web.scm
xorg.scm services: xorg-wrapper: Support xorg server input rewriting. 2023-03-25 10:06:36 +08:00