diff --git a/roles/yubikey.nix b/roles/yubikey.nix index 7980d1f..07bdfcc 100644 --- a/roles/yubikey.nix +++ b/roles/yubikey.nix @@ -26,7 +26,7 @@ ''; clearYubikeyUser = pkgs.writeScript "clear-yubikey-user" '' #!${pkgs.stdenv.shell} - ${pkgs.sudo}/bin/sudo -u ${clearYubikey} + ${pkgs.sudo}/bin/sudo -u craige ${clearYubikey} ''; in '' ACTION=="add|change", SUBSYSTEM=="usb", ATTRS{idVendor}=="1050", ATTRS{idProduct}=="0407", RUN+="${clearYubikeyUser}"