From bd548299822668192596ae2c8aec8f224a8fe0ec Mon Sep 17 00:00:00 2001 From: Nickiel12 Date: Tue, 9 Jan 2024 19:05:50 -0800 Subject: [PATCH] moved settings - depreciation warning --- hosts/Alaska/modules/nextcloud.nix | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/hosts/Alaska/modules/nextcloud.nix b/hosts/Alaska/modules/nextcloud.nix index 4943e55..44c4026 100644 --- a/hosts/Alaska/modules/nextcloud.nix +++ b/hosts/Alaska/modules/nextcloud.nix @@ -29,16 +29,6 @@ database.createLocally = false; config = { - defaultPhoneRegion = "US"; - overwriteProtocol = "https"; - extraTrustedDomains = [ - "10.0.0.183" - "files.nickiel.net" - ]; - trustedProxies = [ - "files.nickiel.net" - ]; - dbtype = "pgsql"; dbuser = "nextcloud"; dbhost = "/run/postgresql"; @@ -50,6 +40,17 @@ adminpassFile = "/Aurora/nextcloud/nextcloud-admin-password"; adminuser = "admin"; }; + extraOption = { + defaultPhoneRegion = "US"; + overwriteProtocol = "https"; + extraTrustedDomains = [ + "10.0.0.183" + "files.nickiel.net" + ]; + trustedProxies = [ + "files.nickiel.net" + ]; + }; }; services.postgresql = {