Corrected username
This commit is contained in:
parent
4351150085
commit
bb59bfd3de
|
@ -26,7 +26,7 @@
|
||||||
'';
|
'';
|
||||||
clearYubikeyUser = pkgs.writeScript "clear-yubikey-user" ''
|
clearYubikeyUser = pkgs.writeScript "clear-yubikey-user" ''
|
||||||
#!${pkgs.stdenv.shell}
|
#!${pkgs.stdenv.shell}
|
||||||
${pkgs.sudo}/bin/sudo -u <your username> ${clearYubikey}
|
${pkgs.sudo}/bin/sudo -u craige ${clearYubikey}
|
||||||
'';
|
'';
|
||||||
in ''
|
in ''
|
||||||
ACTION=="add|change", SUBSYSTEM=="usb", ATTRS{idVendor}=="1050", ATTRS{idProduct}=="0407", RUN+="${clearYubikeyUser}"
|
ACTION=="add|change", SUBSYSTEM=="usb", ATTRS{idVendor}=="1050", ATTRS{idProduct}=="0407", RUN+="${clearYubikeyUser}"
|
||||||
|
|
Loading…
Reference in a new issue