diff --git a/hosts/desktop.nix b/hosts/desktop.nix index 6cc075a..efd8548 100644 --- a/hosts/desktop.nix +++ b/hosts/desktop.nix @@ -7,10 +7,6 @@ in services = { xserver = { enable = true; - libinput = { - enable = true; - touchpad.tapping = true; - }; xkbOptions = "caps:escape"; displayManager = { lightdm = { diff --git a/hosts/thinkpads/default.nix b/hosts/thinkpads/default.nix index cba0722..144e773 100644 --- a/hosts/thinkpads/default.nix +++ b/hosts/thinkpads/default.nix @@ -17,4 +17,9 @@ # Use X11 caps lock to escape remap in TTY console.useXkbConfig = true; services.xserver.xkbOptions = "caps:escape"; + + services.xserver.libinput = { + enable = true; + touchpad.tapping = true; + }; }