diff options
author | Alan Pearce | 2019-03-26 12:37:17 +0100 |
---|---|---|
committer | Alan Pearce | 2019-03-26 12:37:17 +0100 |
commit | 56f5b23cc3062f91dd87b39e879515f7b4d3aa39 (patch) | |
tree | ff153d30514b0dd4c26ae4e14f7492a0e525e2b4 /modules/hardware | |
parent | f23cc53573ae9c70fd628fb473d8267c8bfccd7d (diff) | |
download | nixfiles-56f5b23cc3062f91dd87b39e879515f7b4d3aa39.tar.lz nixfiles-56f5b23cc3062f91dd87b39e879515f7b4d3aa39.tar.zst nixfiles-56f5b23cc3062f91dd87b39e879515f7b4d3aa39.zip |
laptop: reduce password prompts after hibernation
Diffstat (limited to 'modules/hardware')
-rw-r--r-- | modules/hardware/laptop.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/hardware/laptop.nix b/modules/hardware/laptop.nix index c6628855..a1d27ee4 100644 --- a/modules/hardware/laptop.nix +++ b/modules/hardware/laptop.nix @@ -38,7 +38,11 @@ IdleActionSec=600 ''; - services.physlock.enable = true; + services.physlock = { + enable = true; + # Already need to enter disk encryption password + lockOn.hibernate = false; + }; services.tlp = { enable = true; |