Testing
This commit is contained in:
parent
829f648a0b
commit
c5487025ed
1 changed files with 0 additions and 9 deletions
|
@ -16,13 +16,4 @@
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
yubico-pam
|
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"
|
|
||||||
'';
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue