services: gdm: Add 'debug?' configuration field.

* gnu/services/xorg.scm (<gdm-configuration>)[debug?]: New field.
(gdm-configuration-file): Use it.
* doc/guix.texi: Document it.
This commit is contained in:
Timothy Sample 2019-10-23 21:57:52 -04:00
parent b8fb4d24cb
commit 88f95687c7
No known key found for this signature in database
GPG key ID: 2AC6A5EC1C357C59
2 changed files with 7 additions and 1 deletions

View file

@ -13988,6 +13988,9 @@ When @code{auto-login?} is false, GDM presents a log-in screen.
When @code{auto-login?} is true, GDM logs in directly as
@code{default-user}.
@item @code{debug?} (default: @code{#f})
When true, GDM writes debug messages to its log.
@item @code{gnome-shell-assets} (default: ...)
List of GNOME Shell assets needed by GDM: icon theme, fonts, etc.

View file

@ -835,6 +835,7 @@ (define-record-type* <gdm-configuration>
(allow-empty-passwords? gdm-configuration-allow-empty-passwords? (default #t))
(auto-login? gdm-configuration-auto-login? (default #f))
(dbus-daemon gdm-configuration-dbus-daemon (default dbus-daemon-wrapper))
(debug? gdm-configuration-debug? (default #f))
(default-user gdm-configuration-default-user (default #f))
(gnome-shell-assets gdm-configuration-gnome-shell-assets
(default (list adwaita-icon-theme font-cantarell)))
@ -866,7 +867,9 @@ (define (gdm-configuration-file config)
"WaylandEnable=false\n"
"\n"
"[debug]\n"
"#Enable=true\n"
"Enable=" (if (gdm-configuration-debug? config)
"true"
"false") "\n"
"\n"
"[security]\n"
"#DisallowTCP=true\n"