From d8a401d16121d47044d5cc62d673fda4220711e5 Mon Sep 17 00:00:00 2001 From: Daniel Langbein Date: Sat, 23 Sep 2023 18:36:51 +0200 Subject: [PATCH] journalwatch config --- modules/journalwatch.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/journalwatch.nix b/modules/journalwatch.nix index 981b15d..87f2e21 100644 --- a/modules/journalwatch.nix +++ b/modules/journalwatch.nix @@ -124,8 +124,7 @@ { # yodaTux. If the user `yoda` runs a command with `sudo`. filters = '' - \s+yoda : TTY=pts/1 ; PWD=/\S+ ; USER=root ; COMMAND=/.+ - \s+yoda : TTY=pts/7 ; PWD=/\S+ ; USER=root ; COMMAND=/.+ + \s+yoda : TTY=pts/[0-9] ; PWD=/\S+ ; USER=root ; COMMAND=/.+ ''; match = "SYSLOG_IDENTIFIER = sudo"; }