From c5487025eddbfbba6beda929dfc2b2dd9e3ebe46 Mon Sep 17 00:00:00 2001 From: albert Date: Sun, 5 May 2024 17:01:29 +0900 Subject: [PATCH] Testing --- nixos/common/modules/yubikey-auth.nix | 9 --------- 1 file changed, 9 deletions(-) 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" - ''; }