summary refs log tree commit diff
path: root/nixos/modules/services/x11/display-managers/gdm.nix
diff options
context:
space:
mode:
authorEdward Tjörnhammar <ed@cflags.cc>2015-08-28 05:55:56 +0200
committerEdward Tjörnhammar <ed@cflags.cc>2015-08-28 05:55:56 +0200
commit7f3566da8a74bcb013503c7439d8ec9568b6d8b8 (patch)
tree0d7e6e098eae92e1c98fbfed36c43d3e7e716f2b /nixos/modules/services/x11/display-managers/gdm.nix
parent7589dd61e8319541d52514fcc479065b916f3ef6 (diff)
downloadnixpkgs-7f3566da8a74bcb013503c7439d8ec9568b6d8b8.tar
nixpkgs-7f3566da8a74bcb013503c7439d8ec9568b6d8b8.tar.gz
nixpkgs-7f3566da8a74bcb013503c7439d8ec9568b6d8b8.tar.bz2
nixpkgs-7f3566da8a74bcb013503c7439d8ec9568b6d8b8.tar.lz
nixpkgs-7f3566da8a74bcb013503c7439d8ec9568b6d8b8.tar.xz
nixpkgs-7f3566da8a74bcb013503c7439d8ec9568b6d8b8.tar.zst
nixpkgs-7f3566da8a74bcb013503c7439d8ec9568b6d8b8.zip
services.xserver.displayManager.gdm.autoLogin: add description
Diffstat (limited to 'nixos/modules/services/x11/display-managers/gdm.nix')
-rw-r--r--nixos/modules/services/x11/display-managers/gdm.nix7
1 files changed, 5 insertions, 2 deletions
diff --git a/nixos/modules/services/x11/display-managers/gdm.nix b/nixos/modules/services/x11/display-managers/gdm.nix
index 245c18ee2d9..ccf0f911081 100644
--- a/nixos/modules/services/x11/display-managers/gdm.nix
+++ b/nixos/modules/services/x11/display-managers/gdm.nix
@@ -25,6 +25,9 @@ in
 
       autoLogin = mkOption {
         default = {};
+        description = ''
+          Auto login configuration attrset.
+        '';
 
         type = types.submodule {
           options = {
@@ -78,7 +81,7 @@ in
     users.extraGroups.gdm.gid = config.ids.gids.gdm;
 
     services.xserver.displayManager.job =
-      { 
+      {
         environment = {
           GDM_X_SERVER = "${cfg.xserverBin} ${cfg.xserverArgs}";
           GDM_SESSIONS_DIR = "${cfg.session.desktops}";
@@ -177,7 +180,7 @@ in
           "auth     required       pam_deny.so"}
 
         account  sufficient     pam_unix.so
-        
+
         password requisite      pam_unix.so nullok sha512
         ${optionalString config.security.pam.enableEcryptfs
           "password optional ${pkgs.ecryptfs}/lib/security/pam_ecryptfs.so"}