summary refs log tree commit diff
path: root/nixos/modules/services/x11/display-managers/lightdm.nix
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2016-12-04 14:48:47 +0100
committerVladimír Čunát <vcunat@gmail.com>2016-12-04 14:54:31 +0100
commita1ae6273626b467906ae964eca4b16b04e9f8953 (patch)
tree4b4895947abef86f41778b9fc626922cae34b20a /nixos/modules/services/x11/display-managers/lightdm.nix
parentfd6dbd9d177b9a213cd2830873a6ddd311f743eb (diff)
downloadnixpkgs-a1ae6273626b467906ae964eca4b16b04e9f8953.tar
nixpkgs-a1ae6273626b467906ae964eca4b16b04e9f8953.tar.gz
nixpkgs-a1ae6273626b467906ae964eca4b16b04e9f8953.tar.bz2
nixpkgs-a1ae6273626b467906ae964eca4b16b04e9f8953.tar.lz
nixpkgs-a1ae6273626b467906ae964eca4b16b04e9f8953.tar.xz
nixpkgs-a1ae6273626b467906ae964eca4b16b04e9f8953.tar.zst
nixpkgs-a1ae6273626b467906ae964eca4b16b04e9f8953.zip
nixos GDM: fix #19896
- As noted on github, GDM needs different parameters for X.
- Making xserverArgs a true list instead of concat-string helps to
  filter it and it feels more correct anyway.
- Tested: gdm+gnome, lightdm+gnome.  There seems to be no logout option
  in gnome, and gdm doesn't offer other sessions, but maybe these are normal.
Diffstat (limited to 'nixos/modules/services/x11/display-managers/lightdm.nix')
-rw-r--r--nixos/modules/services/x11/display-managers/lightdm.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/x11/display-managers/lightdm.nix b/nixos/modules/services/x11/display-managers/lightdm.nix
index 1d309aa3429..4afef32aaa4 100644
--- a/nixos/modules/services/x11/display-managers/lightdm.nix
+++ b/nixos/modules/services/x11/display-managers/lightdm.nix
@@ -23,7 +23,7 @@ let
       else additionalArgs="-logfile /var/log/X.$display.log"
       fi
 
-      exec ${dmcfg.xserverBin} ${dmcfg.xserverArgs} $additionalArgs "$@"
+      exec ${dmcfg.xserverBin} ${toString dmcfg.xserverArgs} $additionalArgs "$@"
     '';
 
   usersConf = writeText "users.conf"