summary refs log tree commit diff stats
path: root/modules
diff options
context:
space:
mode:
authorAlan Pearce2019-03-26 12:37:17 +0100
committerAlan Pearce2019-03-26 12:37:17 +0100
commit56f5b23cc3062f91dd87b39e879515f7b4d3aa39 (patch)
treeff153d30514b0dd4c26ae4e14f7492a0e525e2b4 /modules
parentf23cc53573ae9c70fd628fb473d8267c8bfccd7d (diff)
downloadnixos-configuration-56f5b23cc3062f91dd87b39e879515f7b4d3aa39.tar.lz
nixos-configuration-56f5b23cc3062f91dd87b39e879515f7b4d3aa39.tar.zst
nixos-configuration-56f5b23cc3062f91dd87b39e879515f7b4d3aa39.zip
laptop: reduce password prompts after hibernation
Diffstat (limited to 'modules')
-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 c662885..a1d27ee 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;