From d44db3a5695bb61f909f9528280859cb157e3ba0 Mon Sep 17 00:00:00 2001 From: Nickiel12 Date: Fri, 2 Feb 2024 17:09:12 -0800 Subject: [PATCH] updated config options --- hosts/Alaska/modules/nextcloud.nix | 22 ++++++++++------------ hosts/configuration.nix | 4 ++-- 2 files changed, 12 insertions(+), 14 deletions(-) diff --git a/hosts/Alaska/modules/nextcloud.nix b/hosts/Alaska/modules/nextcloud.nix index d8d7351..50a0b6d 100644 --- a/hosts/Alaska/modules/nextcloud.nix +++ b/hosts/Alaska/modules/nextcloud.nix @@ -12,7 +12,7 @@ autoUpdateApps.enable = true; - extraOptions = { + settings = { preview_max_x = 2048; preview_max_y = 2048; jpeg_quality = 50; @@ -25,6 +25,15 @@ "OC\\Preview\\MP4" "OC\\Preview\\MOVIE" ]; + defaultPhoneRegion = "US"; + overwriteProtocol = "https"; + extraTrustedDomains = [ + "10.0.0.183" + "files.nickiel.net" + ]; + trustedProxies = [ + "files.nickiel.net" + ]; }; database.createLocally = false; @@ -40,17 +49,6 @@ adminpassFile = "/Aurora/nextcloud/nextcloud-admin-password"; adminuser = "admin"; }; - extraOptions = { - defaultPhoneRegion = "US"; - overwriteProtocol = "https"; - extraTrustedDomains = [ - "10.0.0.183" - "files.nickiel.net" - ]; - trustedProxies = [ - "files.nickiel.net" - ]; - }; }; services.postgresql = { diff --git a/hosts/configuration.nix b/hosts/configuration.nix index 0c465db..1183c75 100644 --- a/hosts/configuration.nix +++ b/hosts/configuration.nix @@ -19,8 +19,8 @@ services.xserver = { enable = true; - layout = "us"; - xkbOptions = "caps:super"; + xkb.layout = "us"; + xkb.options = "caps:super"; desktopManager.plasma5.enable = true; displayManager.defaultSession = "plasma";