From ff5c5f998a42267572639ad3184e364bcdae5c9b Mon Sep 17 00:00:00 2001 From: oluceps Date: Wed, 23 Oct 2024 00:01:45 +0800 Subject: [PATCH] + --- hosts/graphBase.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hosts/graphBase.nix b/hosts/graphBase.nix index aefa51ab..c056b352 100644 --- a/hosts/graphBase.nix +++ b/hosts/graphBase.nix @@ -181,6 +181,10 @@ timeout = 900; command = "${lib.getExe pkgs.niri} msg action power-off-monitors"; } + { + timeout = 901; + command = "/run/current-system/systemd/bin/loginctl lock-session"; + } ]; events = [ {