invidious: init
This commit is contained in:
parent
03860af6eb
commit
30355502e1
2 changed files with 2 additions and 3 deletions
|
@ -90,6 +90,7 @@
|
|||
|
||||
invidious-database-password = {
|
||||
file = ./invidious/databasePassword.age;
|
||||
mode = "444";
|
||||
};
|
||||
|
||||
invidious-auth = {
|
||||
|
|
|
@ -14,7 +14,7 @@ in
|
|||
createLocally = false;
|
||||
host = "10.99.99.3";
|
||||
port = 5432;
|
||||
passwordFile = "%d/databasePassword";
|
||||
passwordFile = config.age.secrets.invidious-database-password.path;
|
||||
};
|
||||
|
||||
settings = {
|
||||
|
@ -40,8 +40,6 @@ in
|
|||
nginx.enable = false;
|
||||
};
|
||||
|
||||
systemd.services.invidious.serviceConfig.LoadCredential = "databasePassword:${config.age.secrets.invidious-database-password.path}";
|
||||
|
||||
services.nginx.virtualHosts."${fqdn}" = {
|
||||
http3 = true;
|
||||
|
||||
|
|
Loading…
Reference in a new issue