Commit 6e01edca authored by Bart Brouns's avatar Bart Brouns
Browse files

services.physlock: lock on suspend-then-hibernate

parent 9a8b37a0
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -121,6 +121,7 @@ in
          wantedBy =
            lib.optional cfg.lockOn.suspend "suspend.target"
            ++ lib.optional cfg.lockOn.hibernate "hibernate.target"
            ++ lib.optional (cfg.lockOn.hibernate || cfg.lockOn.suspend) "suspend-then-hibernate.target"
            ++ cfg.lockOn.extraTargets;
          before =
            lib.optional cfg.lockOn.suspend "systemd-suspend.service"