<template>
        services.nextcloud = {
        enable = true;
        hostName = "nextcloud.tld";
        database.createLocally = true;
        config = {
        dbtype = "pgsql";
        adminpassFile = "/path/to/admin-pass-file";
        };
        };

        networking.firewall.allowedTCPPorts = [ 80 443 ];
</template>

