From 7db5442cc06615965fdd26d73452317ef8d6f557 Mon Sep 17 00:00:00 2001 From: "RingOfStorms (Joshua Bell)" Date: Mon, 10 Jun 2024 19:08:01 -0500 Subject: [PATCH] stupdi keyboard 2 --- hosts/gpdPocket3/configuration.nix | 1 + hosts/gpdPocket3/stupid-keyboard-2.nix | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 hosts/gpdPocket3/stupid-keyboard-2.nix diff --git a/hosts/gpdPocket3/configuration.nix b/hosts/gpdPocket3/configuration.nix index 622e56d..d8ec33c 100644 --- a/hosts/gpdPocket3/configuration.nix +++ b/hosts/gpdPocket3/configuration.nix @@ -22,6 +22,7 @@ (settings.usersDir + "/josh/configuration.nix") # Our custom stuff ./stupid-keyboard.nix + ./stupid-keyboard-2.nix ]; # machine specific configuration diff --git a/hosts/gpdPocket3/stupid-keyboard-2.nix b/hosts/gpdPocket3/stupid-keyboard-2.nix new file mode 100644 index 0000000..18704ae --- /dev/null +++ b/hosts/gpdPocket3/stupid-keyboard-2.nix @@ -0,0 +1,18 @@ +{ ... }: +{ + services.keyd = { + enable = true; + # `keyd monitor` to get new keys to remap + keyboards = { + rgo_sino_keyboard = { + ids = [ "04e8:7021" ]; + settings = { + main = { + "up" = "/"; + "/" = "up"; + }; + }; + }; + }; + }; +}