From 49d220d02527d5adfb16c18e0d576299c2ec6f23 Mon Sep 17 00:00:00 2001 From: stubbfel Date: Wed, 6 Dec 2023 21:31:42 +0100 Subject: [PATCH] update --- services/enabled.nix | 4 ++-- services/nextcloud.nix | 5 +++-- services/nexus.nix | 4 ++-- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/services/enabled.nix b/services/enabled.nix index 8d6109b..8cd1561 100644 --- a/services/enabled.nix +++ b/services/enabled.nix @@ -4,7 +4,7 @@ imports = [ #./7dtd.nix - ./vaheim.nix +# ./vaheim.nix ./sshd.nix ./teamspeak.nix ./nginx.nix @@ -20,7 +20,7 @@ # ./jitsi.nix ./docker.nix ./mailcow.nix - ./unciv.nix +# ./unciv.nix # ./hydra.nix ./postgres.nix ]; diff --git a/services/nextcloud.nix b/services/nextcloud.nix index dc3f28e..a19a50c 100644 --- a/services/nextcloud.nix +++ b/services/nextcloud.nix @@ -1,3 +1,4 @@ + { config, pkgs, ... }: let myPhp = pkgs.php81.buildEnv { @@ -128,7 +129,7 @@ in "~ ^/(?:\\.(?!well-known)|autotest|occ|issue|indie|db_|console)".extraConfig = '' return 404; ''; - "~ ^\\/(?:index|remote|public|cron|core\\/ajax\\/update|status|ocs\\/v[12]|updater\\/.+|oc[ms]-provider\\/.+|.+\\/richdocumentscode\\/proxy)\\.php(?:$|\\/)" = { + "~ ^\\/(?:index|remote|public|cron|core\\/ajax\\/update|status|ocs\\/v[12]|updater\\/.+|ocs-provider\\/.+|.+\\/richdocumentscode\\/proxy)\\.php(?:$|\\/)" = { priority = 500; extraConfig = '' include ${config.services.nginx.package}/conf/fastcgi.conf; @@ -151,7 +152,7 @@ in expires 6M; access_log off; ''; - "~ ^\\/(?:updater|ocs-provider|ocm-provider)(?:$|\\/)".extraConfig = '' + "~ ^\\/(?:updater|ocs-provider)(?:$|\\/)".extraConfig = '' try_files $uri/ =404; index index.php; ''; diff --git a/services/nexus.nix b/services/nexus.nix index 7cf9cf9..2718e9a 100644 --- a/services/nexus.nix +++ b/services/nexus.nix @@ -5,11 +5,11 @@ let lPort = 9081; nexusPkgs = pkgs.nexus.overrideAttrs (oldAttrs: rec { pname = "nexus"; - version = "3.53.1-02"; + version = "3.63.0-01"; sourceRoot = "${pname}-${version}"; src = pkgs.fetchurl { url = "https://sonatype-download.global.ssl.fastly.net/nexus/3/nexus-${version}-unix.tar.gz"; - sha256 = "sha256-+jbGdESMwAfJas32i+BKGBQoPFqioawqT6JknnyNANQ="; + sha256 = "sha256-6ATVdlZJSnaUc7srjLJBsazdoimSoM7xXvL0Bm2MEtM="; }; installPhase = '' runHook preInstall