Update modules/users.nix

This commit is contained in:
Alexander Bantyev 2020-03-01 23:58:29 +03:00
parent 995ca87bce
commit 35cb8d0d4b
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@
services.udev.extraRules = ''
ACTION=="remove", ATTRS{idVendor}=="1050", RUN+="${pkgs.systemd}/bin/systemctl start swaylock"
ACTION=="remove", ATTRS{idVendor}=="1050", RUN+="${pkgs.systemd}/bin/systemctl restart swaylock"
ACTION=="add", ATTRS{idVendor}=="1050", RUN+="${pkgs.systemd}/bin/systemctl restart swaylock"
'';
systemd.services.swaylock = {