summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergio Pastor Pérez <sergio.pastor-perez@inria.fr>2026-06-04 10:13:05 +0200
committerLiliana Marie Prikler <liliana.prikler@gmail.com>2026-06-18 12:31:24 +0200
commita3d5dc72ecd8dccfca2e9b333e2ed0242f41fd6e (patch)
tree16cfbcc01b992297f28269ffedbfe42796ed1944
parent80a47a522ec0ef770b815f2cea5710b97fe00393 (diff)
services: kmonad: Add missing accessors and adjust documentation.
* doc/guix.texi (Desktop Services): Use generated documentation for `kmonad-configuration'. * gnu/services/desktop.scm (kmonad-configuration): Export accessors. Change-Id: I3b5dadd86b1234004222105013dcf0e635f585c4 Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
-rw-r--r--doc/guix.texi20
-rw-r--r--gnu/services/desktop.scm4
2 files changed, 16 insertions, 8 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index fccdd1d876e..7c37c2aba16 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -27657,22 +27657,28 @@ This is the type of the service that runs
27657@uref{https://github.com/kmonad/kmonad, KMonad}. Its value is a 27657@uref{https://github.com/kmonad/kmonad, KMonad}. Its value is a
27658@code{kmonad-configuration} object. This service allows spawning 27658@code{kmonad-configuration} object. This service allows spawning
27659@command{kmonad} configurations to manage keyboards. 27659@command{kmonad} configurations to manage keyboards.
27660@end defvar
27661
27662@c %start of fragment
27660 27663
27661@deftp {Data Type} kmonad-configuration 27664@deftp {Data Type} kmonad-configuration
27662Configuration record for the KMonad service. 27665Available @code{kmonad-configuration} fields are:
27663 27666
27664@table @asis 27667@table @asis
27665@item @code{kmonad} (default: @code{kmonad}) 27668@item @code{kmonad} (default: @code{kmonad}) (type: package)
27666The KMonad package to use. 27669The KMonad package to use.
27667 27670
27668@item @code{keymaps} 27671@item @code{keymaps} (default: @code{()}) (type: list-of-file-likes)
27669A list of files with KMonad configurations. One shepherd service will be 27672A list of KMonad configurations (file-like objects). See
27670created to control each configuration. Each configuration should target 27673@uref{https://github.com/kmonad/kmonad/blob/master/keymap/tutorial.kbd,KMonad
27671a distinct input device as KMonad operates on a per-input basis. 27674- Keymap Tutorial}
27672 27675
27673@end table 27676@end table
27677
27674@end deftp 27678@end deftp
27675@end defvar 27679
27680
27681@c %end of fragment
27676 27682
27677@defvar colord-service-type 27683@defvar colord-service-type
27678This is the type of the service that runs @command{colord}, a system 27684This is the type of the service that runs @command{colord}, a system
diff --git a/gnu/services/desktop.scm b/gnu/services/desktop.scm
index 617a8dd072b..0d0f6d949c2 100644
--- a/gnu/services/desktop.scm
+++ b/gnu/services/desktop.scm
@@ -124,9 +124,11 @@
124 124
125 colord-service-type 125 colord-service-type
126 126
127 kmonad-service-type
128 kmonad-configuration 127 kmonad-configuration
128 kmonad-configuration-keymaps
129 kmonad-configuration-kmonad
129 kmonad-configuration? 130 kmonad-configuration?
131 kmonad-service-type
130 132
131 geoclue-application 133 geoclue-application
132 geoclue-configuration 134 geoclue-configuration