feat(udev): add udev rules for qmk and vial
This commit is contained in:
parent
74b315fc39
commit
73c0ebb467
2 changed files with 14 additions and 0 deletions
|
@ -15,6 +15,7 @@ with pkgs;
|
||||||
./programs/spotifyd.nix
|
./programs/spotifyd.nix
|
||||||
./hardware/audio.nix
|
./hardware/audio.nix
|
||||||
./hardware/bluetooth.nix
|
./hardware/bluetooth.nix
|
||||||
|
./hardware/udev.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
environment.systemPackages = [
|
environment.systemPackages = [
|
||||||
|
|
13
modules/hardware/udev.nix
Normal file
13
modules/hardware/udev.nix
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
{ pkgs, ... }:
|
||||||
|
{
|
||||||
|
hardware.keyboard.qmk.enable = true;
|
||||||
|
services.udev = {
|
||||||
|
packages = with pkgs; [
|
||||||
|
vial
|
||||||
|
via
|
||||||
|
qmk
|
||||||
|
qmk-udev-rules
|
||||||
|
qmk_hid
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue