fix onlyoffice

This commit is contained in:
naturallaw77 2023-06-14 18:50:28 -07:00
parent 0a3f7ac01d
commit bbe1b30731
2 changed files with 8 additions and 4 deletions

View File

@ -6,8 +6,7 @@ let
{ {
services.onlyoffice = { services.onlyoffice = {
enable = true; enable = true;
#jwtSecretFile = "${personalization.onlyofficejwtSecretFile}"; jwtSecretFile = "${personalization.onlyofficejwtSecretFile}";
jwtSecretFile = "${personalization.age.secrets.onlyofficejwtSecretFile.file}";
}; };
services.nginx.defaultSSLListenPort = 9443; services.nginx.defaultSSLListenPort = 9443;

View File

@ -7,17 +7,22 @@ btcpayserver_url = builtins.readFile /var/lib/domains/btcpayserver;
caddy_email_for_zerossl = builtins.readFile /var/lib/domains/sslemail; caddy_email_for_zerossl = builtins.readFile /var/lib/domains/sslemail;
vaultwarden_url = builtins.readFile /var/lib/domains/vaultwarden; vaultwarden_url = builtins.readFile /var/lib/domains/vaultwarden;
onlyoffice_url = builtins.readFile /var/lib/domains/onlyoffice; onlyoffice_url = builtins.readFile /var/lib/domains/onlyoffice;
onlyofficejwtSecretFile = /var/lib/secrets/onlyofficejwtSecretFile;
##
age.identityPaths = [ "/root/.ssh/agenix/agenix-secret-keys" ]; age.identityPaths = [ "/root/.ssh/agenix/agenix-secret-keys" ];
##
age.secrets.turn.file = /var/lib/agenix-secrets/turn.age; age.secrets.turn.file = /var/lib/agenix-secrets/turn.age;
age.secrets.matrix_reg_secret.file = /var/lib/agenix-secrets/matrix_reg_secret.age; age.secrets.matrix_reg_secret.file = /var/lib/agenix-secrets/matrix_reg_secret.age;
age.secrets.matrixdb.file = /var/lib/agenix-secrets/matrixdb.age; age.secrets.matrixdb.file = /var/lib/agenix-secrets/matrixdb.age;
age.secrets.nextclouddb.file = /var/lib/agenix-secrets/nextclouddb.age; age.secrets.nextclouddb.file = /var/lib/agenix-secrets/nextclouddb.age;
age.secrets.wordpressdb.file = /var/lib/agenix-secrets/wordpressdb.age; age.secrets.wordpressdb.file = /var/lib/agenix-secrets/wordpressdb.age;
age.secrets.onlyofficejwtSecretFile.file = /var/lib/agenix-secrets/onlyofficejwtSecretFile.age;
##
external_ip_secret = builtins.readFile /var/lib/secrets/external_ip; external_ip_secret = builtins.readFile /var/lib/secrets/external_ip;
onlyofficejwtSecretFile = /var/lib/secrets/onlyofficejwtSecretFile;
} }