mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-04-19 00:19:11 +00:00
hosts/ni: disable built-in laptop keyboard
It is more of a hindrance now that I always use an external keyboard.
This commit is contained in:
parent
2a1e6fa4b9
commit
b9652dc8bb
@ -20,4 +20,12 @@
|
||||
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
||||
hardware.cpu.intel.updateMicrocode =
|
||||
lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||
|
||||
boot.initrd.services.udev.rules = ''
|
||||
KERNELS=="input0", SUBSYSTEMS=="input", ATTRS{id/product}=="0001", ATTRS{id/vendor}=="0001", ATTRS{id/version}=="ab83", ENV{LIBINPUT_IGNORE_DEVICE}="1"
|
||||
'';
|
||||
|
||||
services.udev.extraRules = ''
|
||||
KERNELS=="input0", SUBSYSTEMS=="input", ATTRS{id/product}=="0001", ATTRS{id/vendor}=="0001", ATTRS{id/version}=="ab83", ENV{LIBINPUT_IGNORE_DEVICE}="1"
|
||||
'';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user