This commit is contained in:
Lucy Hochkamp 2025-07-05 22:58:17 +02:00
parent ab44dd5abb
commit da09df49b1
No known key found for this signature in database
5 changed files with 40 additions and 21 deletions

View file

@ -19,6 +19,7 @@
./obsidianshare.nix
./mail.nix
./gotosocial.nix
./ntfy.nix
# ./ts-ovpn.nix
../../nixos-modules/system/persist.nix
@ -217,6 +218,10 @@
handle @notes {
reverse_proxy http://127.0.0.1:8086
}
@ntfy host ntfy.xyno.systems
handle @ntfy {
reverse_proxy http://127.0.0.1:15992
}
handle {
abort

11
hosts/picard/ntfy.nix Normal file
View file

@ -0,0 +1,11 @@
{pkgs,config,lib,...}:{
services.ntfy-sh = {
enable = true;
settings.base-url = "https://nfty.xyno.systems";
settings.behind-proxy = true;
settings.listen-http = ":15992";
};
ragon.persist.extraDirectories = [
"/var/cache/ntfy"
];
}

View file

@ -76,6 +76,10 @@ in
settings.database.name = "psycopg2";
settings.database.args.database = "matrix-synapse-xynospace";
settings.database.args.host = hostAddress;
settings.ip_range_whitelist = [
"2a03:4000:6:8120::1/128"
"37.120.178.81/32"
];
settings.database.args.password = "synapse";
settings.app_service_config_files = [
"/var/lib/signalbot.yaml"