Update modules/users.nix
This commit is contained in:
parent
995ca87bce
commit
35cb8d0d4b
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user