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