summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2019-03-26 12:37:17 +0100
committerAlan Pearce2019-03-26 12:37:17 +0100
commit56f5b23cc3062f91dd87b39e879515f7b4d3aa39 (patch)
treeff153d30514b0dd4c26ae4e14f7492a0e525e2b4
parentf23cc53573ae9c70fd628fb473d8267c8bfccd7d (diff)
downloadnixfiles-56f5b23cc3062f91dd87b39e879515f7b4d3aa39.tar.lz
nixfiles-56f5b23cc3062f91dd87b39e879515f7b4d3aa39.tar.zst
nixfiles-56f5b23cc3062f91dd87b39e879515f7b4d3aa39.zip
laptop: reduce password prompts after hibernation
-rw-r--r--modules/hardware/laptop.nix6
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;