added onlyoffice

This commit is contained in:
naturallaw77 2023-06-13 10:39:57 -07:00
parent 75385911ad
commit f3e962fbb6
3 changed files with 13 additions and 0 deletions

View File

@ -8,6 +8,7 @@
./coturn.nix ./coturn.nix
./bitcoinecosystem.nix ./bitcoinecosystem.nix
./vaultwarden.nix ./vaultwarden.nix
./onlyoffice.nix
/etc/nixos/hardware-configuration.nix /etc/nixos/hardware-configuration.nix
]; ];
} }

11
modules/onlyoffice.nix Normal file
View File

@ -0,0 +1,11 @@
{config, pkgs, lib, ...}:
let
personalization = import ./personalization.nix;
in
{
services.onlyoffice = {
enable = true;
hostname = "${personalization.wordpress_url}";
};
}

View File

@ -6,6 +6,7 @@ nextcloud_url = builtins.readFile /var/lib/domains/nextcloud;
btcpayserver_url = builtins.readFile /var/lib/domains/btcpayserver; 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;
age.identityPaths = [ "/root/.ssh/agenix/agenix-secret-keys" ]; age.identityPaths = [ "/root/.ssh/agenix/agenix-secret-keys" ];