From 4e38d152ed8a6b3177e7a5b8718ece3a110dc580 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Thu, 9 May 2013 15:01:16 +0200 Subject: [PATCH] Adding synclient to systemPackages if synaptics is enabled. --- modules/services/x11/hardware/synaptics.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/services/x11/hardware/synaptics.nix b/modules/services/x11/hardware/synaptics.nix index e0806499106..d16142a5fdf 100644 --- a/modules/services/x11/hardware/synaptics.nix +++ b/modules/services/x11/hardware/synaptics.nix @@ -89,6 +89,8 @@ let cfg = config.services.xserver.synaptics; in services.xserver.modules = [ pkgs.xorg.xf86inputsynaptics ]; + environment.systemPackages = [ pkgs.xorg.xf86inputsynaptics ]; + services.xserver.config = '' # Automatically enable the synaptics driver for all touchpads.