mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2026-04-14 13:19:09 +02:00
feat: add policestation
This commit is contained in:
parent
361f77a447
commit
a2b9cc78b5
7 changed files with 360 additions and 23 deletions
|
|
@ -30,6 +30,7 @@ in
|
|||
enable = true;
|
||||
scdaemonSettings = {
|
||||
disable-ccid = true; # prevent conflicts between pcscd and scdameon
|
||||
# pcsc-shared = true; # as long as only one key is used, this prevents key from not being detected sometimes
|
||||
};
|
||||
publicKeys = [
|
||||
{
|
||||
|
|
|
|||
|
|
@ -252,10 +252,10 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
udev.extraRules = ''
|
||||
# lock screen when yubikey removed
|
||||
ACTION=="remove", ENV{PRODUCT}=="3/1050/407/110", RUN+="${pkgs.systemd}/bin/systemctl suspend"
|
||||
'';
|
||||
# udev.extraRules = ''
|
||||
# # lock screen when yubikey removed
|
||||
# ACTION=="remove", ENV{PRODUCT}=="3/1050/407/110", RUN+="${pkgs.systemd}/bin/systemctl suspend"
|
||||
# '';
|
||||
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue