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"; + }; + }; + }; + }; + }; +}