add uhk
This commit is contained in:
parent
d4507b8176
commit
0a06ecc41f
2 changed files with 7 additions and 1 deletions
nixos/components/gui
|
|
@ -8,6 +8,11 @@
|
|||
|
||||
config = lib.mkIf (config.components.gui.kmonad.enable) {
|
||||
|
||||
# only needed if you have an UHK
|
||||
hardware.keyboard.uhk.enable = true;
|
||||
environment.systemPackages = [ pkgs.uhk-agent ];
|
||||
users.users.mainUser.extraGroups = [ "input" ];
|
||||
|
||||
services.xserver = {
|
||||
layout = "us";
|
||||
xkbOptions = "compose:ralt";
|
||||
|
|
@ -57,6 +62,7 @@
|
|||
{
|
||||
nativ = keyboard "/dev/input/by-path/platform-i8042-serio-0-event-kbd";
|
||||
dasKeyboard = keyboard "/dev/input/by-id/usb-Metadot_-_Das_Keyboard_Das_Keyboard-event-kbd";
|
||||
uhk = keyboard "/dev/input/by-id/usb-Ultimate_Gadget_Laboratories_UHK_60_v2-if01-event-kbd";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue