From 55de10dc3ebf8e5cdff2cc35cc640989e7cff878 Mon Sep 17 00:00:00 2001 From: Julien Malka Date: Sun, 9 Apr 2023 00:13:41 +0200 Subject: [PATCH] fix: ntfy version rollback --- machines/lambda/default.nix | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/machines/lambda/default.nix b/machines/lambda/default.nix index 729fd51..93fc8fc 100644 --- a/machines/lambda/default.nix +++ b/machines/lambda/default.nix @@ -33,15 +33,19 @@ systemd.services.uptime-kuma.path = [ pkgs.unixtools.ping ]; - services.ntfy-sh.enable = true; - services.ntfy-sh.settings = { - listen-http = ":8080"; - behind-proxy = true; - upstream-base-url = "https://ntfy.sh"; - base-url = "https://notifications.julienmalka.me"; - auth-file = "/srv/ntfy/user.db"; - auth-default-access = "deny-all"; - }; + services.ntfy-sh = + { + enable = true; + package = pkgs.unstable.ntfy-sh; + settings = { + listen-http = ":8080"; + behind-proxy = true; + upstream-base-url = "https://ntfy.sh"; + base-url = "https://notifications.julienmalka.me"; + auth-file = "/srv/ntfy/user.db"; + auth-default-access = "deny-all"; + }; + }; services.nginx.virtualHosts."status.julienmalka.me" = { forceSSL = true;