X server: Enable local access control

For the last ten years we have been passing -ac to the X server, which
is very bad idea.

Fixes #14623.
This commit is contained in:
Eelco Dolstra 2016-04-12 18:37:53 +02:00
parent 71e7f0cad4
commit 1541fa351b

View file

@ -513,8 +513,7 @@ in
};
services.xserver.displayManager.xserverArgs =
[ "-ac"
"-terminate"
[ "-terminate"
"-config ${configFile}"
"-xkbdir" "${cfg.xkbDir}"
] ++ optional (cfg.display != null) ":${toString cfg.display}"