summaryrefslogtreecommitdiff
path: root/flora/services/ntfy.nix
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--flora/services/ntfy.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/flora/services/ntfy.nix b/flora/services/ntfy.nix
index cda212d..45dcb3c 100644
--- a/flora/services/ntfy.nix
+++ b/flora/services/ntfy.nix
@@ -10,6 +10,9 @@
listen-unix = "/run/ntfy-sh/ntfy.sock";
listen-unix-mode = 511; ## lossy nix->yaml conversion eats octal literals (equal to 0777)
+ smtp-server-listen = ":2525";
+ smtp-server-domain = "ping.stuebinm.eu";
+
auth-file = "/var/lib/ntfy-sh/user.db";
auth-default-access = "deny-all";
@@ -32,4 +35,8 @@
RuntimeDirectory = [ "ntfy-sh" ];
};
};
+
+ environment.etc."ntfy/client.yml".text = ''
+ default-host: https://ping.stuebinm.eu
+ '';
}