From 2da4bd1d848670359851d620c231101493081b63 Mon Sep 17 00:00:00 2001 From: Jimbo Date: Tue, 27 Aug 2024 14:30:05 -0400 Subject: [PATCH] Append secrets to domain --- configuration.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"; }; };