fixed kanata for razer kbd
This commit is contained in:
parent
7344e89f4c
commit
5f2a3018c3
2 changed files with 18 additions and 5 deletions
|
@ -1,6 +1,17 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
environment.systemPackages = [ pkgs.kanata ];
|
||||
|
||||
# Add the Kanata service user to necessary groups
|
||||
systemd.services.kanata-razer.serviceConfig = {
|
||||
SupplementaryGroups = [
|
||||
"input"
|
||||
"uinput"
|
||||
"openrazer"
|
||||
];
|
||||
};
|
||||
|
||||
services.kanata = {
|
||||
enable = true;
|
||||
keyboards = {
|
||||
|
@ -53,9 +64,9 @@
|
|||
lctrl lmet lalt spc ralt rctrl)
|
||||
|
||||
(defalias
|
||||
supesc (tap-hold-press 200 200 esc lmet)
|
||||
sp-lsft (tap-hold-press 200 200 S-9 lsft)
|
||||
sp-rsft (tap-hold-press 200 200 S-0 lsft))
|
||||
supesc (tap-hold-press 100 200 esc lmet)
|
||||
sp-lsft (tap-hold-press 100 200 S-9 lsft)
|
||||
sp-rsft (tap-hold-press 100 200 S-0 lsft))
|
||||
|
||||
(deflayer qwerty
|
||||
grv 1 2 3 4 5 6 7 8 9 0 - = bspc
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue