Corrected username

This commit is contained in:
Craige McWhirter 2020-02-10 23:53:35 +10:00
parent 4351150085
commit bb59bfd3de
Signed by: sercanto
GPG key ID: 7DBA9F5689EFB6AA

View file

@ -26,7 +26,7 @@
'';
clearYubikeyUser = pkgs.writeScript "clear-yubikey-user" ''
#!${pkgs.stdenv.shell}
${pkgs.sudo}/bin/sudo -u <your username> ${clearYubikey}
${pkgs.sudo}/bin/sudo -u craige ${clearYubikey}
'';
in ''
ACTION=="add|change", SUBSYSTEM=="usb", ATTRS{idVendor}=="1050", ATTRS{idProduct}=="0407", RUN+="${clearYubikeyUser}"