diff --git a/nixos/common/modules/yubikey-auth.nix b/nixos/common/modules/yubikey-auth.nix index 0e14ec02..0ec0a551 100644 --- a/nixos/common/modules/yubikey-auth.nix +++ b/nixos/common/modules/yubikey-auth.nix @@ -16,13 +16,4 @@ environment.systemPackages = with pkgs; [ yubico-pam ]; - - services.udev.extraRules = '' - ACTION=="remove",\ - ENV{ID_BUS}=="usb",\ - ENV{ID_MODEL_ID}=="0407",\ - ENV{ID_VENDOR_ID}=="1050",\ - ENV{ID_VENDOR}=="Yubico",\ - RUN+="shutdown -h now" - ''; }