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 = { nextcloud = {
enable = true; enable = true;
package = pkgs.nextcloud29; package = pkgs.nextcloud29;
hostName = "cloud.${cornDomain}"; hostName = "cloud.${secrets.cornDomain}";
datadir = "/nextcloud"; datadir = "/nextcloud";
https = true; https = true;
config = { config = {
@ -183,7 +183,7 @@ in
}; };
settings = { settings = {
trusted_proxies = [ "127.0.0.1" ]; trusted_proxies = [ "127.0.0.1" ];
trusted_domains = [ "cloud.${cornDomain}" ]; trusted_domains = [ "cloud.${secrets.cornDomain}" ];
overwriteprotocol = "https"; overwriteprotocol = "https";
}; };
}; };