From 5353f725a91261558f31a35dee39d0347adf910b Mon Sep 17 00:00:00 2001 From: Tigor Hutasuhut Date: Fri, 11 Oct 2024 10:36:59 +0700 Subject: [PATCH] ssh: format ntfy-ssh-login.sh message --- system/modules/openssh.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/system/modules/openssh.nix b/system/modules/openssh.nix index 006a083..ce48468 100644 --- a/system/modules/openssh.nix +++ b/system/modules/openssh.nix @@ -47,7 +47,8 @@ lib.mkMerge [ -H "X-Priority: 4" \ -H "X-Tags: warning" \ -H "Authorization: Bearer ${config.sops.placeholder."ntfy/tokens/homeserver"}" \ - -d "SSH login: $PAM_USER from $PAM_RHOST" \ + -H "X-Title: SSH login" \ + -d "$PAM_USER from $PAM_RHOST" \ https://ntfy.tigor.web.id/ssh fi ''));