Add nextcloud default configuration

This commit is contained in:
Fabian Hauser 2020-06-27 23:18:59 +02:00
parent e0ade9cf95
commit 8424e0875c
2 changed files with 20 additions and 0 deletions

View file

@ -0,0 +1,4 @@
== Nextcloud Role
This role manages the nextcloud installation.

View file

@ -0,0 +1,16 @@
# Default configuration for hosts
{ config, lib, pkgs, ... }:
{
services.nextcloud = {
adminpassFile = "/secrets/nextcloud-admin";#TODO
adminuser = "root";
dbtype = "pgsql";
dbhost = "/run/postgresql";
enable = true;
https = true;
maxUploadSize = "1G";
nginx.enable = true;
webfinger = true;
};
}