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)/"; } {