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