mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 23:00:14 +01:00
fix: nextcloud?
This commit is contained in:
parent
02ced8c359
commit
b971ff8fdc
1 changed files with 14 additions and 12 deletions
|
|
@ -1,15 +1,19 @@
|
|||
{ config, ... }:
|
||||
{
|
||||
services.nextcloud = {
|
||||
enable = true;
|
||||
hostName = "cloud.liv.town";
|
||||
https = true;
|
||||
configureRedis = true;
|
||||
maxUploadSize = "10G";
|
||||
|
||||
virtualHosts.${config.services.nextcloud.hostName} = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
|
||||
services.nextcloud = {
|
||||
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 = [
|
||||
|
|
@ -25,10 +29,8 @@
|
|||
"OC\\Preview\\XBitmap"
|
||||
"OC\\Preview\\HEIC"
|
||||
];
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
security.acme = {
|
||||
acceptTerms = true;
|
||||
certs = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue