common/libinput: move to own nix file

This commit is contained in:
Oystein Kristoffer Tveit 2024-12-03 13:32:15 +01:00
parent 67f156c3b2
commit 3bf91d810f
Signed by: oysteikt
GPG Key ID: 9F2F7D8250F35146
2 changed files with 8 additions and 5 deletions

View File

@ -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 = {

View File

@ -0,0 +1,7 @@
{ config, ...}:
{
services.libinput = {
enable = !config.machineVars.headless;
touchpad.disableWhileTyping = true;
};
}