Append secrets to domain

This commit is contained in:
Jimbo 2024-08-27 14:30:05 -04:00
parent 15e040c6d0
commit 2da4bd1d84

View file

@ -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";
};
};