diff --git a/modules/nixos/services/cloudflare.nix b/modules/nixos/services/cloudflare.nix index 8e513c5..08186b1 100644 --- a/modules/nixos/services/cloudflare.nix +++ b/modules/nixos/services/cloudflare.nix @@ -80,7 +80,7 @@ in { }; # Allows Nextcloud to trust Cloudflare IPs - services.nextcloud.extraOptions.trusted_proxies = cloudflareIpRanges; + services.nextcloud.settings.trusted_proxies = cloudflareIpRanges; }; } diff --git a/modules/nixos/services/nextcloud.nix b/modules/nixos/services/nextcloud.nix index 9037415..72f70f1 100644 --- a/modules/nixos/services/nextcloud.nix +++ b/modules/nixos/services/nextcloud.nix @@ -14,7 +14,7 @@ adminpassFile = config.secrets.nextcloud.dest; dbtype = "mysql"; }; - extraOptions = { + settings = { default_phone_region = "US"; # Allow access when hitting either of these hosts or IPs trusted_domains = [ config.hostnames.content ];