summary refs log tree commit diff
diff options
context:
space:
mode:
authorFlorian Pelz <pelzflorian@pelzflorian.de>2020-03-26 15:19:21 +0100
committerFlorian Pelz <pelzflorian@pelzflorian.de>2020-03-29 10:12:08 +0000
commitacb41a40246e2be295d3712ded235c07c5f02f60 (patch)
tree0c8b44832a74903e0502cc222207d3077c88b6b9
parent77ca6fb316dfbf41e38c89b200a43f92249620ca (diff)
downloadguix-acb41a40246e2be295d3712ded235c07c5f02f60.tar.gz
services: gdm: Add gdm user to 'video' supplementary group.
This makes it possible to use gdm with the 'uvesafb' kernel module.
See <https://lists.gnu.org/archive/html/guix-devel/2020-03/msg00389.html>.

* gnu/services/xorg.scm (%gdm-accounts): Set supplementary groups.
-rw-r--r--gnu/services/xorg.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/services/xorg.scm b/gnu/services/xorg.scm
index 09379d40c3..d0196a299e 100644
--- a/gnu/services/xorg.scm
+++ b/gnu/services/xorg.scm
@@ -798,6 +798,7 @@ the GNOME desktop environment.")
         (user-account
          (name "gdm")
          (group "gdm")
+         (supplementary-groups '("video"))
          (system? #t)
          (comment "GNOME Display Manager user")
          (home-directory "/var/lib/gdm")