Build all images with nix-snapshotter
This commit is contained in:
parent
ab3a068066
commit
708e6b4336
14 changed files with 125 additions and 184 deletions
20
nixng-configurations/ntfy.nix
Normal file
20
nixng-configurations/ntfy.nix
Normal file
|
@ -0,0 +1,20 @@
|
|||
{...}: {
|
||||
dinit.enable = true;
|
||||
init.services.ntfy-sh.shutdownOnExit = true;
|
||||
|
||||
services.ntfy-sh = {
|
||||
enable = true;
|
||||
|
||||
settings = {
|
||||
base-url = "https://ntfy.kun.is";
|
||||
cache-file = "/var/cache/ntfy/cache.db";
|
||||
cache-duration = "14d";
|
||||
auth-file = "/var/lib/ntfy/user.db";
|
||||
auth-default-access = "deny-all";
|
||||
attachment-cache-dir = "/var/cache/ntfy-attachments";
|
||||
enable-signup = false;
|
||||
enable-login = true;
|
||||
visitor-subscription-limit = 100;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue