wynne: ntfy - reconfigure directories

This commit is contained in:
Adithya 2024-09-17 23:47:19 +05:30
parent 583370a024
commit 9ec873c100
Signed by: adtya
GPG key ID: B8857BFBA2C47B9C

View file

@ -33,7 +33,14 @@ in
settings = { settings = {
base-url = "https://${domainName}"; base-url = "https://${domainName}";
listen-http = "127.0.0.1:8080"; listen-http = "127.0.0.1:8080";
auth-file = "/mnt/data/ntfy-sh/user.db";
attachment-cache-dir = "/mnt/data/ntfy-sh/attachments";
cache-file = "/mnt/data/ntfy-sh/cache-file.db";
auth-default-access = "deny-all";
}; };
}; };
}; };
systemd.services.ntfy-sh.unitConfig.RequiresMountsFor = [ "/mnt/data" ];
systemd.services.ntfy-sh.serviceConfig.WorkingDirectory = [ "/mnt/data/ntfy-sh" ];
} }