From 549a4bb8e333c0eceafb745a770e30e145247278 Mon Sep 17 00:00:00 2001 From: Michael Mandl Date: Fri, 8 Jul 2022 10:33:54 +0200 Subject: [PATCH] feat(xorg): blank screen one minute before locking it --- machines/p330/configuration.nix | 6 ++++++ machines/p330/home-mandlm.nix | 2 ++ 2 files changed, 8 insertions(+) diff --git a/machines/p330/configuration.nix b/machines/p330/configuration.nix index 1f4c85e..40394f5 100644 --- a/machines/p330/configuration.nix +++ b/machines/p330/configuration.nix @@ -23,5 +23,11 @@ ''; } ]; + serverFlagsSection = '' + Option "BlankTime" "19" + Option "StandbyTime" "0" + Option "SuspendTime" "0" + Option "OffTime" "20" + ''; }; } diff --git a/machines/p330/home-mandlm.nix b/machines/p330/home-mandlm.nix index 1cce414..f7a2ec3 100644 --- a/machines/p330/home-mandlm.nix +++ b/machines/p330/home-mandlm.nix @@ -17,4 +17,6 @@ }; programs.kitty.font.size = 16; + + services.screen-locker.inactiveInterval = 20; }