Update modules/users.nix

This commit is contained in:
Alexander Bantyev 2020-03-01 21:41:14 +03:00
parent a1aa693af9
commit 4974449b96
1 changed files with 3 additions and 3 deletions

View File

@ -37,11 +37,11 @@
"/run/user/1000";
services.udev.extraRules = ''
ACTION=="remove", ATTRS{idVendor}=="1050, RUN+="${
ACTION=="remove", ATTRS{idVendor}=="1050", RUN+="${
pkgs.writeShellScript "lock-system"
"/run/wrappers/bin/sudo -u balsoft 'XDG_RUNTIME_DIR=/run/user/1000/ ${pkgs.swaylock}/bin/swaylock -f -c ${
"/run/wrappers/bin/sudo -u balsoft XDG_RUNTIME_DIR=/run/user/1000/ ${pkgs.swaylock}/bin/swaylock -f -c ${
builtins.substring 1 7 config.themes.colors.bg
}'"
}"
}"'';
security.pam.u2f = {
control = "sufficient";