1
0
Fork 0

Update greatyamada services

This commit is contained in:
Avery 2025-02-14 21:52:49 +01:00
parent 2fef3e01c6
commit fa0b9b18cd
Signed by: Avery
GPG key ID: B684FD451B692E04
22 changed files with 290 additions and 191 deletions

View file

@ -0,0 +1,20 @@
{ ... }:
let ports = import ./_port-definitions.nix;
in {
services = {
ntfy-sh = {
enable = true;
settings = {
base-url = "https://ntfy.rcia.dev";
auth-file = "/etc/ntfy-users.db";
auth-default-access = "deny-all";
};
};
nginx.virtualHosts."ntfy.rcia.dev" = {
locations."/" = {
proxyPass = "http://127.0.0.1:${toString ports.ntfy-http}";
recommendedProxySettings = true;
};
};
};
}