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:34:40 +01:00
parent 6fe465f500
commit 4e57e7f7c6
No known key found for this signature in database
GPG Key ID: 5E4C836C632C2882

View File

@ -99,8 +99,7 @@ in
services.xserver.displayManager.job =
{
environment = {
GDM_X_SERVER_EXTRA_ARGS = toString
(filter (arg: arg != "-terminate") cfg.xserverArgs);
GDM_X_SERVER = "${cfg.xserverBin} ${toString cfg.xserverArgs}";
GDM_SESSIONS_DIR = "${cfg.session.desktops}";
# Find the mouse
XCURSOR_PATH = "~/.icons:${config.system.path}/share/icons";