From 8621e2375d0d74825b4d7cbc4aeb8c39bfd5adc8 Mon Sep 17 00:00:00 2001 From: Noah Masur <7386960+nmasur@users.noreply.github.com> Date: Sat, 10 Feb 2024 01:37:21 +0000 Subject: [PATCH] fix: nextcloud extraOptions renamed --- modules/nixos/services/cloudflare.nix | 2 +- modules/nixos/services/nextcloud.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 ];