Add solokey udev rules
This commit is contained in:
@@ -20,6 +20,20 @@ in
|
||||
services.udev = {
|
||||
packages = with pkgs; [
|
||||
yubikey-personalization
|
||||
(pkgs.writeTextFile {
|
||||
name = "wally_udev";
|
||||
text = ''
|
||||
# NXP LPC55 ROM bootloader (unmodified)
|
||||
SUBSYSTEM=="hidraw", ATTRS{idVendor}=="1fc9", ATTRS{idProduct}=="0021", TAG+="uaccess"
|
||||
# NXP LPC55 ROM bootloader (with Solo 2 VID:PID)
|
||||
SUBSYSTEM=="hidraw", ATTRS{idVendor}=="1209", ATTRS{idProduct}=="b000", TAG+="uaccess"
|
||||
# Solo 2
|
||||
SUBSYSTEM=="tty", ATTRS{idVendor}=="1209", ATTRS{idProduct}=="beee", TAG+="uaccess"
|
||||
# Solo 2
|
||||
SUBSYSTEM=="usb", ATTRS{idVendor}=="1209", ATTRS{idProduct}=="beee", TAG+="uaccess"
|
||||
'';
|
||||
destination = "/etc/udev/rules.d/70-solo2.rules";
|
||||
})
|
||||
];
|
||||
extraRules = ''
|
||||
# Yubikey: create a symlink when key is plugged in, register this in systemd
|
||||
|
||||
Reference in New Issue
Block a user