Nextcloud upgrade
This commit is contained in:
parent
2cafbff81a
commit
be4585cb3f
1 changed files with 7 additions and 11 deletions
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue