FIX : udev rules for yubikey

alacritty
Alexandre LUCAZEAU 2022-09-14 19:26:52 +02:00
parent 7bee44b0c5
commit 60f89aeaec
No known key found for this signature in database
GPG Key ID: 3C8ADB07A8217BD3
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@
};
udev.extraRules = ''
ACTION=="remove", ENV{ID_VENDOR_ID}=="1050", ENV{ID_MODEL_ID}=="0407", RUN+="${pkgs.i3lock}/bin/i3lock -i /home/alexandre/images/coffee_time.png";
ACTION=="remove", ENV{ID_BUS}=="usb", ENV{ID_VENDOR_ID}=="1050", ENV{ID_MODEL_ID}=="0407", RUN+="${pkgs.i3lock}/bin/i3lock -i /home/alexandre/images/coffee_time.png";
'';
};
}