summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authormuradm <mail@muradm.net>2022-06-15 12:17:41 +0300
committerLars-Dominik Braun <ldb@leibniz-psychology.org>2022-06-17 10:30:43 +0200
commitd6dda325c10a4aa8605fefa3906066ce792c2e81 (patch)
tree0757fe3bce9616f1501639bc63f2952d0a3fb221 /doc
parent167b8f29b3679a23bb20f5ed4181738c389d9d89 (diff)
downloadguix-d6dda325c10a4aa8605fefa3906066ce792c2e81.tar.gz
gnu: desktop: Add seatd-service-type.
* gnu/services/desktop.scm (seatd-service-type): New variable
* gnu/services/desktop.scm (seatd-configuration): New data type

Signed-off-by: Lars-Dominik Braun <ldb@leibniz-psychology.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/guix.texi46
1 files changed, 46 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index d149732c19..eda0956260 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -22875,6 +22875,52 @@ and ``passwd'' is with the value @code{passwd}.
 @end table
 @end deftp
 
+@defvr {Scheme Variable} seatd-service-type
+@uref{https://sr.ht/~kennylevinsen/seatd/, seatd} is a minimal seat
+management daemon.
+
+Seat management takes care of mediating access to shared devices (graphics,
+input), without requiring the applications needing access to be root.
+
+@lisp
+(append
+  (list
+   ;; make sure seatd is running
+   (service seatd-service-type))
+
+  ;; normally one would want %base-services
+  %base-services)
+
+@end lisp
+@end defvr
+
+@deftp {Data Type} seatd-configuration
+Configuration record for the seatd daemon service.
+
+@table @asis
+@item @code{seatd} (default: @code{seatd})
+The seatd package to use.
+
+@item @code{user} (default: @samp{"root"})
+User to own the seatd socket.
+
+@item @code{group} (default: @samp{"users"})
+Group to own the seatd socket.
+
+@item @code{socket} (default: @samp{"/run/seatd.sock"})
+Where to create the seatd socket.
+
+@item @code{logfile} (default: @samp{"/var/log/seatd.log"})
+Log file to write to.
+
+@item @code{loglevel} (default: @samp{"error"})
+Log level to output logs. Possible values: @samp{"silent"}, @samp{"error"},
+@samp{"info"} and @samp{"debug"}.
+
+@end table
+@end deftp
+
+
 @node Sound Services
 @subsection Sound Services