This commit is contained in:
Vivian 2023-05-07 18:42:36 +02:00
parent a28992c684
commit cba8485ba2
5 changed files with 39 additions and 27 deletions

View file

@ -18,7 +18,7 @@
# Additional packages
environment.systemPackages = with pkgs; [ ntfy-sh ];
networking.firewall.allowedTCPPorts = [ 80 ];
networking.firewall.allowedTCPPorts = [ 80 9090 ];
services.ntfy-sh = let datadir = "/var/lib/ntfy";
in {
@ -31,6 +31,7 @@
auth-default-access = "deny-all";
behind-proxy = true;
attachment-cache-dir = "${datadir}/attachments";
metrics-listen-http = ":9090";
};
};
}