From a63ad10b24e6d74704baf30668ecdb2ddf28219c Mon Sep 17 00:00:00 2001 From: Baitinq Date: Mon, 27 Jun 2022 00:43:53 +0200 Subject: Luna: Add custom keymap config --- hosts/luna/default.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'hosts/luna/default.nix') 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. -- cgit 1.4.1