Nextcloud upgrade

This commit is contained in:
Filippo Berto 2024-06-10 18:40:06 +02:00
parent 2cafbff81a
commit be4585cb3f
No known key found for this signature in database
GPG key ID: FE98AE5EC52B1056

View file

@ -1,4 +1,4 @@
{ pkgs, config, lib, ... }: { pkgs, config, ... }:
let let
hosts = import ../../hosts.nix; hosts = import ../../hosts.nix;
in in
@ -24,11 +24,8 @@ in
database.createLocally = true; database.createLocally = true;
# autoUpdateApps.enable = true; autoUpdateApps.enable = true;
appstoreEnable = lib.mkForce false; settings = {
extraApps = { };
extraAppsEnable = false;
extraOptions = {
enabledPreviewProviders = [ enabledPreviewProviders = [
"OC\\Preview\\BMP" "OC\\Preview\\BMP"
@ -44,10 +41,7 @@ in
"OC\\Preview\\HEIC" # Enable preview of HEIC/HEIF images (others are default) "OC\\Preview\\HEIC" # Enable preview of HEIC/HEIF images (others are default)
"OC\\Preview\\EMF" "OC\\Preview\\EMF"
]; ];
trusted_proxies = [
};
config = {
trustedProxies = [
# hosts.zerotier.ipv4."baldur.zto" # hosts.zerotier.ipv4."baldur.zto"
# hosts.zerotier.ipv6."baldur.zto" # hosts.zerotier.ipv6."baldur.zto"
hosts.tailscale.ipv4."baldur.tsn" hosts.tailscale.ipv4."baldur.tsn"
@ -55,10 +49,12 @@ in
# "baldur.zto" # "baldur.zto"
"baldur.tsn" "baldur.tsn"
]; ];
overwriteprotocol = "https";
};
config = {
dbtype = "pgsql"; dbtype = "pgsql";
# extraTrustedDomains = [ "freya.tsn" ]; # extraTrustedDomains = [ "freya.tsn" ];
adminpassFile = config.age.secrets.nextcloud_admin_secret.path; adminpassFile = config.age.secrets.nextcloud_admin_secret.path;
overwriteProtocol = "https";
# objectstore.s3 = { # objectstore.s3 = {
# enable = true; # enable = true;
# bucket = "nextcloud-storage"; # bucket = "nextcloud-storage";