added qmk
This commit is contained in:
parent
0c403decf4
commit
5de1dee9b3
2 changed files with 14 additions and 0 deletions
|
@ -6,6 +6,7 @@
|
|||
./dev
|
||||
./games
|
||||
./hyprland
|
||||
./keyboard
|
||||
./theme
|
||||
./web
|
||||
|
||||
|
|
13
users/willifan/desktop/keyboard/default.nix
Normal file
13
users/willifan/desktop/keyboard/default.nix
Normal file
|
@ -0,0 +1,13 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
qmk-udev-rules
|
||||
vial
|
||||
];
|
||||
|
||||
hardware.keyboard.qmk.enable = true;
|
||||
services.udev.extraRules = ''
|
||||
KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{serial}=="*vial:f64c2b3c*", MODE="0660", GROUP="users", TAG+="uaccess", TAG+="udev-acl"
|
||||
'';
|
||||
|
||||
}
|
Loading…
Add table
Reference in a new issue