Inhibit locking over an already locked session
diff --git a/modules/security.nix b/modules/security.nix
index f56115b..cefac61 100644
--- a/modules/security.nix
+++ b/modules/security.nix
@@ -34,7 +34,7 @@
     lockCommand =
       lib.pipe ''
         ${pkgs.sway}/bin/swaymsg output "*" dpms off
-        ${config.security.wrapperDir}/physlock -s -p "${lockMessage}"
+        ${pkgs.systemd}/bin/systemd-inhibit --why="Already locked" --what=idle --who="lock script" ${config.security.wrapperDir}/physlock -s -p "${lockMessage}"
         while [ $(${pkgs.sway}/bin/swaymsg -t get_seats | ${pkgs.jq}/bin/jq "[.[] | .capabilities] | max") -eq 0 ]; do ${pkgs.coreutils}/bin/sleep 0.1; done
         ${pkgs.sway}/bin/swaymsg output "*" dpms on
       '' [