From c16f4051491a144f223e8bdd215c024f167290e9 Mon Sep 17 00:00:00 2001 From: Daniel Langbein Date: Wed, 20 Sep 2023 14:48:30 +0200 Subject: [PATCH] journalwatch config --- modules/journalwatch.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/journalwatch.nix b/modules/journalwatch.nix index e042b70..5859776 100644 --- a/modules/journalwatch.nix +++ b/modules/journalwatch.nix @@ -117,7 +117,8 @@ { # yodaTux. If the user `yoda` runs a command with `sudo`. filters = '' - \s+yoda : TTY=pts/7 ; PWD=/.+ ; USER=root ; COMMAND=/.+ + \s+yoda : TTY=pts/1 ; PWD=/\S+ ; USER=root ; COMMAND=/.+ + \s+yoda : TTY=pts/7 ; PWD=/\S+ ; USER=root ; COMMAND=/.+ ''; match = "SYSLOG_IDENTIFIER = sudo"; }