From 96c839e8eb2d96783feff6bd10ea4afcf95182d1 Mon Sep 17 00:00:00 2001 From: Adithya Nair Date: Sun, 15 Oct 2023 12:51:48 +0530 Subject: [PATCH] use keyd to disable pageup/pagedown keys MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit thanks dell 😡 --- hosts/skipper/services/default.nix | 1 + hosts/skipper/services/keyd.nix | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 hosts/skipper/services/keyd.nix diff --git a/hosts/skipper/services/default.nix b/hosts/skipper/services/default.nix index 03fe47a..16a3763 100644 --- a/hosts/skipper/services/default.nix +++ b/hosts/skipper/services/default.nix @@ -3,6 +3,7 @@ in { imports = [ ./dbus.nix + ./keyd.nix ./pipewire.nix ./udev.nix ./ssh.nix diff --git a/hosts/skipper/services/keyd.nix b/hosts/skipper/services/keyd.nix new file mode 100644 index 0000000..22e1173 --- /dev/null +++ b/hosts/skipper/services/keyd.nix @@ -0,0 +1,16 @@ +_: { + services.keyd = { + enable = true; + keyboards = { + builtin = { + ids = [ "0001:0001" ]; + settings = { + main = { + pageup = "noop"; + pagedown = "noop"; + }; + }; + }; + }; + }; +}