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
|
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";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue