From 56f5b23cc3062f91dd87b39e879515f7b4d3aa39 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Tue, 26 Mar 2019 12:37:17 +0100 Subject: laptop: reduce password prompts after hibernation --- modules/hardware/laptop.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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; -- cgit 1.4.1