mirror of
https://github.com/ItsDrike/nixdots
synced 2024-11-09 22:19:42 +00:00
Enable physlock on resume from hibernation
This commit is contained in:
parent
fdf5b7bace
commit
138613dc11
|
@ -14,11 +14,13 @@ in {
|
||||||
enable = true;
|
enable = true;
|
||||||
lockMessage = "System is locked...";
|
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
|
# I only use physlock manually in some circumstances
|
||||||
lockOn = {
|
lockOn = {
|
||||||
|
# Don't auto-lock the system with physlock on suspend, I prefer other (gui) lockers
|
||||||
suspend = false;
|
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;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue