mirror of
https://github.com/elwrcl/copnix.git
synced 2026-10-31 22:28:03 +03:00
13 lines
304 B
Nix
13 lines
304 B
Nix
{ ... }:
|
|
{
|
|
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"
|
|
'')
|
|
];
|
|
};
|
|
}
|