parent
a63e4987c3
commit
6eb6fbd51e
1 changed files with 21 additions and 0 deletions
21
services/social/ntfy.mod.nix
Normal file
21
services/social/ntfy.mod.nix
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
{
|
||||||
|
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";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
|
];
|
||||||
|
}
|
Loading…
Reference in a new issue