common/libinput: move to own nix file
This commit is contained in:
@@ -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 = {
|
||||
|
7
hosts/common/services/libinput.nix
Normal file
7
hosts/common/services/libinput.nix
Normal file
@@ -0,0 +1,7 @@
|
||||
{ config, ...}:
|
||||
{
|
||||
services.libinput = {
|
||||
enable = !config.machineVars.headless;
|
||||
touchpad.disableWhileTyping = true;
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user