From ddcf2e50fc715c2736c7fe89474773de2df02a0a Mon Sep 17 00:00:00 2001 From: Daniel Langbein Date: Sun, 8 Dec 2024 10:22:09 +0100 Subject: [PATCH] journalwatch config --- modules/journalwatch.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/journalwatch.nix b/modules/journalwatch.nix index 234134a..a5a4edc 100644 --- a/modules/journalwatch.nix +++ b/modules/journalwatch.nix @@ -813,9 +813,11 @@ in # _SYSTEMD_UNIT = sshd.service # However, sometimes the _SYSTEMD_UNIT field is missing # SYSLOG_IDENTIFIER = sshd + # Sometimes (TODO maybe always since NixOS 24.11 ?) + # SYSLOG_IDENTIFIER = sshd-session { filters = sshd_filter; - match = "SYSLOG_IDENTIFIER = sshd"; + match = "SYSLOG_IDENTIFIER = /(sshd|sshd-session)/"; } {