nixos/dafoe/services/nextcloud.nix
2024-05-29 08:27:05 +02:00

15 lines
386 B
Nix

{ pkgs, ... }:
{
services.nextcloud = {
enable = true;
package = pkgs.nextcloud29;
hostName = "cloud.vatthauer.xyz";
https = true;
config.adminuser = "admin";
config.adminpassFile = "${../../nix-secrets/dafoe/nextcloud/adminpass}";
configureRedis = true;
maxUploadSize = "1G";
#nginx.enable = true;
settings.overwriteProtocol = "https";
};
}