mirror of
https://github.com/elwrcl/copnix.git
synced 2026-10-31 06:18:03 +03:00
udev
This commit is contained in:
1 parent
c5caa9e9c5
commit
a8ab95f5a0
2 files changed
+12
-4
No files matched your search
@@ -0,0 +1,12 @@
|
||||
{ ... }:
|
||||
{
|
||||
flake.nixosModules.hw-keychron =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
services.udev.packages = [
|
||||
(pkgs.writeTextDir "lib/udev/rules.d/70-keychron.rules" ''
|
||||
KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="3434", MODE="0660", TAG+="uaccess"
|
||||
'')
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user