adyya-flake/services/social/ntfy.mod.nix
Ittihadyya 6eb6fbd51e
Some checks failed
/ Check formatting (push) Has been cancelled
c
2025-01-12 10:17:27 +02:00

21 lines
No EOL
588 B
Nix

{
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";
};
};
}
];
}