1
0
Fork 0

invidious: init

This commit is contained in:
Daniel Kempkens 2023-03-20 14:07:23 +01:00
parent 03860af6eb
commit 30355502e1
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM
2 changed files with 2 additions and 3 deletions

View file

@ -90,6 +90,7 @@
invidious-database-password = { invidious-database-password = {
file = ./invidious/databasePassword.age; file = ./invidious/databasePassword.age;
mode = "444";
}; };
invidious-auth = { invidious-auth = {

View file

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