fix: nextcloud?

This commit is contained in:
Ahwx 2024-07-17 01:47:24 +02:00
parent 02ced8c359
commit b971ff8fdc

View file

@ -1,15 +1,19 @@
{ config, ... }: { config, ... }:
{ {
services.nextcloud = {
enable = true;
hostName = "cloud.liv.town";
https = true;
configureRedis = true;
maxUploadSize = "10G";
virtualHosts.${config.services.nextcloud.hostName} = {
forceSSL = true; services.nextcloud = {
enableACME = true; enable = true;
home = "/home/liv/nextcloud";
https = true;
configureRedis = true; # caching
maxUploadSize = "10G";
hostname = "cloud.liv.town";
settings = {
trusted_domains = [
"cloud.liv.town"
];
}; };
extraOptions.enabledPreviewProviders = [ extraOptions.enabledPreviewProviders = [
@ -25,10 +29,8 @@
"OC\\Preview\\XBitmap" "OC\\Preview\\XBitmap"
"OC\\Preview\\HEIC" "OC\\Preview\\HEIC"
]; ];
}; };
security.acme = { security.acme = {
acceptTerms = true; acceptTerms = true;
certs = { certs = {