mirror of
https://github.com/Nickiel12/nicks-nix-config.git
synced 2024-11-24 05:35:29 -08:00
24 lines
513 B
Nix
24 lines
513 B
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
services.kmonad = {
|
|
enable = true;
|
|
|
|
keyboards.internal = {
|
|
device = "/dev/input/by-path/platform-i8042-serio-0-event-kbd";
|
|
config = builtins.readFile ../rsrcs/keyboard.kbd;
|
|
|
|
defcfg = {
|
|
enable = true;
|
|
fallthrough = true;
|
|
allowCommands = true;
|
|
};
|
|
};
|
|
};
|
|
|
|
services.udev.extraRules =
|
|
''
|
|
# KMonad user access to /dev/uinput
|
|
KERNEL=="uinput", MODE="0660", GROUP="uinput", OPTIONS+="static_node=uinput"
|
|
'';
|
|
}
|