Revert "gdm module: only make xserver args overrideable"

This reverts commit a5aa926902.

This allows gdm to run again, the test is still failing.
This commit is contained in:
Robin Gloster
2017-03-24 10:35:20 +01:00
parent 6fe465f500
commit 4e57e7f7c6
@@ -99,8 +99,7 @@ in
services.xserver.displayManager.job = services.xserver.displayManager.job =
{ {
environment = { environment = {
GDM_X_SERVER_EXTRA_ARGS = toString GDM_X_SERVER = "${cfg.xserverBin} ${toString cfg.xserverArgs}";
(filter (arg: arg != "-terminate") cfg.xserverArgs);
GDM_SESSIONS_DIR = "${cfg.session.desktops}"; GDM_SESSIONS_DIR = "${cfg.session.desktops}";
# Find the mouse # Find the mouse
XCURSOR_PATH = "~/.icons:${config.system.path}/share/icons"; XCURSOR_PATH = "~/.icons:${config.system.path}/share/icons";