summary refs log tree commit diff
path: root/nixos/modules/services/x11/display-managers/gdm.nix
diff options
context:
space:
mode:
authorLuca Bruno <lucabru@src.gnome.org>2015-09-14 08:33:44 +0000
committerLuca Bruno <lucabru@src.gnome.org>2015-09-14 08:33:44 +0000
commit6644af591035a255cf323d201fe4759eac518423 (patch)
treeb7be4fdc655cc1fd2dc5ef402e371df88756e881 /nixos/modules/services/x11/display-managers/gdm.nix
parent49abb378e3d5efc7ae700ed2535b80f8e8848f66 (diff)
downloadnixpkgs-6644af591035a255cf323d201fe4759eac518423.tar
nixpkgs-6644af591035a255cf323d201fe4759eac518423.tar.gz
nixpkgs-6644af591035a255cf323d201fe4759eac518423.tar.bz2
nixpkgs-6644af591035a255cf323d201fe4759eac518423.tar.lz
nixpkgs-6644af591035a255cf323d201fe4759eac518423.tar.xz
nixpkgs-6644af591035a255cf323d201fe4759eac518423.tar.zst
nixpkgs-6644af591035a255cf323d201fe4759eac518423.zip
nixos gdm: add debug option
Diffstat (limited to 'nixos/modules/services/x11/display-managers/gdm.nix')
-rw-r--r--nixos/modules/services/x11/display-managers/gdm.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/nixos/modules/services/x11/display-managers/gdm.nix b/nixos/modules/services/x11/display-managers/gdm.nix
index 307d552d929..9312f64471a 100644
--- a/nixos/modules/services/x11/display-managers/gdm.nix
+++ b/nixos/modules/services/x11/display-managers/gdm.nix
@@ -23,6 +23,10 @@ in
         <emphasis>GDM is very experimental and may render system unusable.</emphasis>
       '';
 
+      debug = mkEnableOption ''
+        debugging messages in GDM
+      '';
+
       autoLogin = mkOption {
         default = {};
         description = ''
@@ -125,6 +129,7 @@ in
       [chooser]
 
       [debug]
+      ${optionalString cfg.gdm.debug "Enable=true"}
     '';
 
     # GDM LFS PAM modules, adapted somehow to NixOS