add rule to allow access to keychron keyboard
This commit is contained in:
parent
050593d919
commit
e4cdc83a1f
1 changed files with 9 additions and 1 deletions
|
@ -31,6 +31,14 @@ let
|
||||||
'';
|
'';
|
||||||
destination = "/etc/udev/rules.d/61-saleae-logic.rules";
|
destination = "/etc/udev/rules.d/61-saleae-logic.rules";
|
||||||
};
|
};
|
||||||
|
keychron = pkgs.writeTextFile {
|
||||||
|
name = "keychron";
|
||||||
|
text = ''
|
||||||
|
# Saleae Logic analyzer (USB Based)
|
||||||
|
ATTRS{idVendor}=="3434", ATTRS{idProduct}=="0280", TAG+="uaccess"
|
||||||
|
'';
|
||||||
|
destination = "/etc/udev/rules.d/61-keychron.rules";
|
||||||
|
};
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
|
@ -117,7 +125,7 @@ in
|
||||||
systemd.services.modem-manager.enable = lib.mkForce false;
|
systemd.services.modem-manager.enable = lib.mkForce false;
|
||||||
systemd.services."dbus-org.freedesktop.ModemManager1".enable = lib.mkForce false;
|
systemd.services."dbus-org.freedesktop.ModemManager1".enable = lib.mkForce false;
|
||||||
|
|
||||||
services.udev.packages = [ xilinxJtag saleaeLogic ]; #noMtpUdevRules ];
|
services.udev.packages = [ xilinxJtag saleaeLogic keychron ]; #noMtpUdevRules ];
|
||||||
|
|
||||||
virtualisation.libvirtd.enable = true;
|
virtualisation.libvirtd.enable = true;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue