mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 13:28:12 -05:00
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:
parent
b8fb4d24cb
commit
88f95687c7
2 changed files with 7 additions and 1 deletions
|
@ -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.
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue