From 6eb6fbd51ef22b14211b2d675fd5178b81193299 Mon Sep 17 00:00:00 2001 From: Ittihadyya Date: Sun, 12 Jan 2025 10:17:27 +0200 Subject: [PATCH] c --- services/social/ntfy.mod.nix | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 services/social/ntfy.mod.nix diff --git a/services/social/ntfy.mod.nix b/services/social/ntfy.mod.nix new file mode 100644 index 0000000..d3cabb4 --- /dev/null +++ b/services/social/ntfy.mod.nix @@ -0,0 +1,21 @@ +{ + glucose.modules = [ + { + services.ntfy-sh = { + enable = true; + settings = { + base-url = "https://ntfy.collective-conciousness.monster"; + behind-proxy = true; + enable-singup = false; + enable-login = true; + enable-reservations = true; + listen-http = ":32984"; + attachment-cache-dir = "/var/services/ntfy/attachments"; + cache-file = "/var/services/ntfy/cache.db"; + auth-default-access = "write-only"; + auth-file = "/var/services/ntfy/auth.db"; + }; + }; + } + ]; +} \ No newline at end of file