mirror of
https://github.com/ItsDrike/nixdots
synced 2024-12-26 06:24:33 +00:00
physlock: Disable automatic locking (suspend/hibernate)
This commit is contained in:
parent
4660bc0046
commit
3914b13d3a
|
@ -9,6 +9,13 @@ in {
|
||||||
services.physlock = {
|
services.physlock = {
|
||||||
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
|
||||||
|
lockOn = {
|
||||||
|
suspend = false;
|
||||||
|
hibernate = false;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue