about summary refs log tree commit diff
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2023-09-02 12:38:56 +0900
committersefidel <contact@sefidel.net>2023-09-02 12:38:56 +0900
commit5ab71ef3ec55ddcdb0ecb07fd0e67451a034a7e3 (patch)
tree7ec949ac0bb38712b8104c04240edd0d7ea3dd0c
parentad5fdbb3fb5fc5a77efcc56a1de513bb8ea88f89 (diff)
downloadnixrc-5ab71ef3ec55ddcdb0ecb07fd0e67451a034a7e3.tar.gz
nixrc-5ab71ef3ec55ddcdb0ecb07fd0e67451a034a7e3.zip
feat(home/gui): set lock grace to 1s
* 5s causes problem where the system is suspended on the grace period,
which grants malicious actor to unlock the system without password on resume.
-rw-r--r--home/profiles/gui/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/home/profiles/gui/default.nix b/home/profiles/gui/default.nix
index 24b1a6a..a849dd7 100644
--- a/home/profiles/gui/default.nix
+++ b/home/profiles/gui/default.nix
@@ -142,7 +142,7 @@ in
             --show-failed-attempts \
             --effect-blur 7x5 \
             --effect-vignette 0.5:0.5 \
-            --grace 5 \
+            --grace 1 \
             --fade-in 0.2'';
         in
         {