fix: use synapse and nfty for matrix and federation

This commit is contained in:
Jet Pham 2026-02-23 23:01:26 -08:00
parent 75a49c7516
commit 7795be78c5
No known key found for this signature in database
7 changed files with 68 additions and 1 deletions

21
modules/ntfy.nix Normal file
View file

@ -0,0 +1,21 @@
{ config, pkgs, ... }:
{
services.ntfy-sh = {
enable = true;
settings = {
base-url = "https://ntfy.extremist.software";
listen-http = ":2586";
behind-proxy = true;
auth-file = "/var/lib/ntfy-sh/user.db";
auth-default-access = "deny-all";
enable-login = true;
auth-users = [
"jet:${config.mySecrets.ntfyAdminHash}:admin"
];
auth-access = [
"*:up*:write-only"
];
};
};
}