Add basic ntfy conf
This commit is contained in:
parent
c2c31454d6
commit
f8655e5440
1 changed files with 19 additions and 1 deletions
|
@ -1 +1,19 @@
|
|||
{ config, pkgs, ... }: { }
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
networking.firewall.allowedTCPPorts = [
|
||||
80
|
||||
443
|
||||
];
|
||||
networking.firewall.allowedUDPPorts = [ 443 ];
|
||||
|
||||
services.ntfy = {
|
||||
enable = true;
|
||||
settings = {
|
||||
base-url = "https://ntfy.vsinerva.fi";
|
||||
listen-https = ":443";
|
||||
key-file = "/var/lib/ntfy/privkey.pem";
|
||||
cert-file = "/var/lib/ntfy/fullchain.pem";
|
||||
cache-file = "/var/lib/ntfy/notif-cache.sqlite";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue