diff --git a/upstart-jobs/xserver/default.nix b/upstart-jobs/xserver/default.nix index a02e559ade40..71eb34f34b60 100644 --- a/upstart-jobs/xserver/default.nix +++ b/upstart-jobs/xserver/default.nix @@ -315,7 +315,7 @@ let xorg.xf86inputevdev ] ++ getAttr ["modules"] [] videoDriverModules - ++ (optional cfg.synaptics.enable ["${pkgs.synaptics}/${xorg.xorgserver}" /*xorg.xf86inputevdev*/]); + ++ (optional cfg.synaptics.enable ["${xorg.xf86inputsynaptics}"]); fontsForXServer = @@ -560,7 +560,7 @@ mkIf cfg.enable { } ${if videoDriver != "nvidia" - then "env XORG_DRI_DRIVER_PATH=${pkgs.mesa}/lib/modules/dri" + then "env XORG_DRI_DRIVER_PATH=${pkgs.mesa}/lib/dri" else "" } diff --git a/upstart-jobs/xserver/xserver.conf b/upstart-jobs/xserver/xserver.conf index a1d8aaea9b26..5d62ca9e3979 100644 --- a/upstart-jobs/xserver/xserver.conf +++ b/upstart-jobs/xserver/xserver.conf @@ -74,6 +74,7 @@ Section "ServerLayout" @setCorePointer@ Screen "Screen[0]" @serverLayoutOptions@ + Option "AutoAddDevices" "0" EndSection