From 093f08563027b105f464b40cc31fbcad8222fc25 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Thu, 7 Mar 2024 21:55:16 -0500 Subject: [PATCH] udev: Disable internal keyboard for now Necessary since the current keyboard has too many broken keys. --- modules/default.nix | 1 + modules/udev.nix | 5 +++++ 2 files changed, 6 insertions(+) create mode 100644 modules/udev.nix diff --git a/modules/default.nix b/modules/default.nix index 0e8d32da..8b81ab7d 100644 --- a/modules/default.nix +++ b/modules/default.nix @@ -26,6 +26,7 @@ ./systemd.nix ./thunar.nix ./timezone.nix + ./udev.nix ./user.nix ./virtualization.nix ./wine.nix diff --git a/modules/udev.nix b/modules/udev.nix new file mode 100644 index 00000000..02d51713 --- /dev/null +++ b/modules/udev.nix @@ -0,0 +1,5 @@ +{ + services.udev.extraRules = '' + KERNEL=="event*", ATTRS{name}=="AT Translated Set 2 keyboard", ENV{LIBINPUT_IGNORE_DEVICE}="1" + ''; +}