Update postgres to 15

This commit is contained in:
Natsu Kagami 2023-05-07 14:28:46 +02:00
parent 137a809232
commit 1bc774c24f
Signed by: nki
GPG key ID: 7306B3D3C3AD6E51
3 changed files with 61 additions and 2 deletions

View file

@ -244,5 +244,30 @@
};
cloud.traefik.hosts.minio = { host = "s3.dtth.ch"; port = 61929; };
system.stateVersion = "21.11";
# ntfy
cloud.traefik.hosts.ntfy-sh = { host = "ntfy.nkagami.me"; port = 11161; };
services.ntfy-sh = {
enable = true;
settings = {
listen-http = "127.0.0.1:11161";
cache-file = "/var/lib/ntfy-sh/cache.db";
auth-file = "/var/lib/ntfy-sh/auth.db";
auth-default-access = "deny-all";
behind-proxy = true;
base-url = "https://ntfy.nkagami.me";
attachment-cache-dir = "/var/lib/ntfy-sh/attachments";
enable-login = true;
enable-reservations = true;
upstream-base-url = "https://ntfy.sh";
};
};
systemd.services.ntfy-sh.serviceConfig = {
WorkingDirectory = "/var/lib/ntfy-sh";
StateDirectory = "ntfy-sh";
};
systemd.services.ntfy-sh.preStart = ''
mkdir -p /var/lib/ntfy-sh/attachments
'';
}

View file

@ -165,7 +165,7 @@ in
lfs.enable = true;
# Backup
dump.enable = true;
# dump.enable = true;
};
# Set up gpg signing key