nixos gdm: add debug option
This commit is contained in:
@@ -23,6 +23,10 @@ in
|
|||||||
<emphasis>GDM is very experimental and may render system unusable.</emphasis>
|
<emphasis>GDM is very experimental and may render system unusable.</emphasis>
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
debug = mkEnableOption ''
|
||||||
|
debugging messages in GDM
|
||||||
|
'';
|
||||||
|
|
||||||
autoLogin = mkOption {
|
autoLogin = mkOption {
|
||||||
default = {};
|
default = {};
|
||||||
description = ''
|
description = ''
|
||||||
@@ -125,6 +129,7 @@ in
|
|||||||
[chooser]
|
[chooser]
|
||||||
|
|
||||||
[debug]
|
[debug]
|
||||||
|
${optionalString cfg.gdm.debug "Enable=true"}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# GDM LFS PAM modules, adapted somehow to NixOS
|
# GDM LFS PAM modules, adapted somehow to NixOS
|
||||||
|
|||||||
Reference in New Issue
Block a user