added qmk

This commit is contained in:
willifan 2024-07-21 16:32:59 +02:00
parent 0c403decf4
commit 5de1dee9b3
2 changed files with 14 additions and 0 deletions

View File

@ -6,6 +6,7 @@
./dev
./games
./hyprland
./keyboard
./theme
./web

View 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"
'';
}