From bb59bfd3de7140d478a03fcb9cbdd1c359d96f3b Mon Sep 17 00:00:00 2001 From: Craige McWhirter Date: Mon, 10 Feb 2020 23:53:35 +1000 Subject: [PATCH] Corrected username --- roles/yubikey.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}"