common/libinput: move to own nix file
This commit is contained in:
parent
67f156c3b2
commit
3bf91d810f
@ -16,6 +16,7 @@ in {
|
|||||||
./services/dbus.nix
|
./services/dbus.nix
|
||||||
./services/irqbalance.nix
|
./services/irqbalance.nix
|
||||||
./services/journald.nix
|
./services/journald.nix
|
||||||
|
./services/libinput.nix
|
||||||
./services/openssh.nix
|
./services/openssh.nix
|
||||||
./services/pcscd.nix
|
./services/pcscd.nix
|
||||||
./services/pipewire.nix
|
./services/pipewire.nix
|
||||||
@ -132,11 +133,6 @@ in {
|
|||||||
android-udev-rules
|
android-udev-rules
|
||||||
light
|
light
|
||||||
];
|
];
|
||||||
|
|
||||||
libinput = {
|
|
||||||
enable = !config.machineVars.headless;
|
|
||||||
touchpad.disableWhileTyping = true;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
programs = {
|
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;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user