all repos — nixfiles @ 56f5b23cc3062f91dd87b39e879515f7b4d3aa39

System and user configuration, managed by nix and home-manager

laptop: reduce password prompts after hibernation
Alan Pearce alan@alanpearce.eu
Tue, 26 Mar 2019 12:37:17 +0100
commit

56f5b23cc3062f91dd87b39e879515f7b4d3aa39

parent

f23cc53573ae9c70fd628fb473d8267c8bfccd7d

1 files changed, 5 insertions(+), 1 deletions(-)

jump to
M modules/hardware/laptop.nixmodules/hardware/laptop.nix
@@ -38,7 +38,11 @@ IdleAction=suspend     IdleActionSec=600
   '';
 
-  services.physlock.enable = true;
+  services.physlock = {
+    enable = true;
+    # Already need to enter disk encryption password
+    lockOn.hibernate = false;
+  };
 
   services.tlp = {
     enable = true;