Enable physlock on resume from hibernation

This commit is contained in:
ItsDrike 2024-09-13 21:20:25 +02:00
parent fdf5b7bace
commit 138613dc11
Signed by: ItsDrike
GPG key ID: FA2745890B7048C0

View file

@ -14,11 +14,13 @@ in {
enable = true;
lockMessage = "System is locked...";
# Don't auto-lock the system with physlock, I prefer other (gui) lockers
# I only use physlock manually in some circumstances
lockOn = {
# Don't auto-lock the system with physlock on suspend, I prefer other (gui) lockers
suspend = false;
hibernate = false;
# Do use physlock on resuming from hibernation though, as this just restored RAM,
# potentially bypassing the login screen and even initial disk encryption password
hibernate = true;
};
};
};