completely refactor and modularize flake
This commit is contained in:
parent
3b1ed7e281
commit
b7210fcf8e
141 changed files with 884 additions and 2605 deletions
13
modules/default/common/desktop/keyboard.nix
Normal file
13
modules/default/common/desktop/keyboard.nix
Normal file
|
@ -0,0 +1,13 @@
|
|||
{ lib, config, pkgs, ... }:
|
||||
lib.mkIf config.desktop.enable {
|
||||
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
Add a link
Reference in a new issue