Corrected username
This commit is contained in:
parent
4351150085
commit
bb59bfd3de
|
@ -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}"
|
||||
|
|
Loading…
Reference in a new issue