nixos gdm: add debug option

+5
+5
nixos/modules/services/x11/display-managers/gdm.nix
··· 23 <emphasis>GDM is very experimental and may render system unusable.</emphasis> 24 ''; 25 26 autoLogin = mkOption { 27 default = {}; 28 description = '' ··· 125 [chooser] 126 127 [debug] 128 ''; 129 130 # GDM LFS PAM modules, adapted somehow to NixOS
··· 23 <emphasis>GDM is very experimental and may render system unusable.</emphasis> 24 ''; 25 26 + debug = mkEnableOption '' 27 + debugging messages in GDM 28 + ''; 29 + 30 autoLogin = mkOption { 31 default = {}; 32 description = '' ··· 129 [chooser] 130 131 [debug] 132 + ${optionalString cfg.gdm.debug "Enable=true"} 133 ''; 134 135 # GDM LFS PAM modules, adapted somehow to NixOS