dotfiles/role/nextcloud/default.nix
2020-08-27 20:43:29 +00:00

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;
};
}