This commit is contained in:
albert 2024-05-05 17:01:29 +09:00
parent 829f648a0b
commit c5487025ed
No known key found for this signature in database
GPG key ID: 64F6C4EB46C4543A

View file

@ -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"
'';
}