Add nextcloud default configuration
This commit is contained in:
parent
e0ade9cf95
commit
8424e0875c
2 changed files with 20 additions and 0 deletions
4
role/nextcloud/README.adoc
Normal file
4
role/nextcloud/README.adoc
Normal file
|
@ -0,0 +1,4 @@
|
|||
== Nextcloud Role
|
||||
|
||||
This role manages the nextcloud installation.
|
||||
|
16
role/nextcloud/default.nix
Normal file
16
role/nextcloud/default.nix
Normal 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;
|
||||
};
|
||||
}
|
Loading…
Add table
Reference in a new issue