ntfy
This commit is contained in:
parent
ab44dd5abb
commit
da09df49b1
5 changed files with 40 additions and 21 deletions
|
|
@ -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
11
hosts/picard/ntfy.nix
Normal 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"
|
||||
];
|
||||
}
|
||||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue