diff --git a/configuration.nix b/configuration.nix index 0b2ed72..8d5dfe8 100644 --- a/configuration.nix +++ b/configuration.nix @@ -174,7 +174,7 @@ in nextcloud = { enable = true; package = pkgs.nextcloud29; - hostName = "cloud.${cornDomain}"; + hostName = "cloud.${secrets.cornDomain}"; datadir = "/nextcloud"; https = true; config = { @@ -183,7 +183,7 @@ in }; settings = { trusted_proxies = [ "127.0.0.1" ]; - trusted_domains = [ "cloud.${cornDomain}" ]; + trusted_domains = [ "cloud.${secrets.cornDomain}" ]; overwriteprotocol = "https"; }; };