diff options
author | Baitinq <manuelpalenzuelamerino@gmail.com> | 2022-06-27 00:43:53 +0200 |
---|---|---|
committer | Baitinq <manuelpalenzuelamerino@gmail.com> | 2022-06-27 16:30:51 +0200 |
commit | a63ad10b24e6d74704baf30668ecdb2ddf28219c (patch) | |
tree | 391a87d02c14a88772ca15ed8edbdeaaf699bf55 /hosts/luna/default.nix | |
parent | Add gpg-agent cache-ttl (diff) | |
download | nixos-config-a63ad10b24e6d74704baf30668ecdb2ddf28219c.tar.gz nixos-config-a63ad10b24e6d74704baf30668ecdb2ddf28219c.tar.bz2 nixos-config-a63ad10b24e6d74704baf30668ecdb2ddf28219c.zip |
Luna: Add custom keymap config
Diffstat (limited to 'hosts/luna/default.nix')
-rw-r--r-- | hosts/luna/default.nix | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/hosts/luna/default.nix b/hosts/luna/default.nix index d974306..08b665a 100644 --- a/hosts/luna/default.nix +++ b/hosts/luna/default.nix @@ -17,6 +17,20 @@ # don’t shutdown when power button is short-pressed HandlePowerKey=ignore ''; + udev.extraHwdb = '' + evdev:name:AT Translated Set 2 keyboard:* + KEYBOARD_KEY_3b=back + KEYBOARD_KEY_3c=forward + KEYBOARD_KEY_3d=refresh + KEYBOARD_KEY_3e=fullscreen + KEYBOARD_KEY_3f=switchvideomode + KEYBOARD_KEY_40=brightnessdown + KEYBOARD_KEY_41=brightnessup + KEYBOARD_KEY_42=mute + KEYBOARD_KEY_43=volumedown + KEYBOARD_KEY_44=volumeup + KEYBOARD_KEY_db=search + ''; }; # Pick only one of the below networking options. |