1
0
Fork 0

invidious: init

This commit is contained in:
Daniel Kempkens 2023-03-20 14:00:36 +01:00
parent 06ebe75eb1
commit 03860af6eb
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM

View file

@ -14,7 +14,7 @@ in
createLocally = false;
host = "10.99.99.3";
port = 5432;
passwordFile = config.age.secrets.invidious-database-password.path;
passwordFile = "%d/databasePassword";
};
settings = {
@ -40,6 +40,8 @@ in
nginx.enable = false;
};
systemd.services.invidious.serviceConfig.LoadCredential = "databasePassword:${config.age.secrets.invidious-database-password.path}";
services.nginx.virtualHosts."${fqdn}" = {
http3 = true;