Update modules/users.nix
This commit is contained in:
parent
a1aa693af9
commit
4974449b96
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user