diff --git a/hosts/common/default.nix b/hosts/common/default.nix index e1c3258..693830e 100644 --- a/hosts/common/default.nix +++ b/hosts/common/default.nix @@ -16,6 +16,7 @@ in { ./services/dbus.nix ./services/irqbalance.nix ./services/journald.nix + ./services/libinput.nix ./services/openssh.nix ./services/pcscd.nix ./services/pipewire.nix @@ -132,11 +133,6 @@ in { android-udev-rules light ]; - - libinput = { - enable = !config.machineVars.headless; - touchpad.disableWhileTyping = true; - }; }; programs = { diff --git a/hosts/common/services/libinput.nix b/hosts/common/services/libinput.nix new file mode 100644 index 0000000..53c352b --- /dev/null +++ b/hosts/common/services/libinput.nix @@ -0,0 +1,7 @@ +{ config, ...}: +{ + services.libinput = { + enable = !config.machineVars.headless; + touchpad.disableWhileTyping = true; + }; +} \ No newline at end of file