flake/hosts/tyo0/services/ntfy.nix

15 lines
326 B
Nix
Raw Normal View History

2024-08-11 10:13:36 +00:00
{
services.ntfy-sh = {
enable = true;
settings = {
base-url = "https://ntfy.ny4.dev";
listen-http = "";
listen-unix = "/run/ntfy-sh/ntfy.sock";
listen-unix-mode = 511; # 0777
behind-proxy = true;
};
};
systemd.services.ntfy-sh.serviceConfig.RuntimeDirectory = [ "ntfy-sh" ];
2024-08-11 10:13:36 +00:00
}