Update sp-modules/nextcloud/module.nix

def 2024-04-24 01:49:31 +03:00
parent 5cf8dc1c02
commit e659eb7dee
1 changed files with 0 additions and 19 deletions

View File

@ -77,23 +77,4 @@
adminuser = "admin";
};
};
services.roundcube = {
enable = true;
# this is the url of the vhost, not necessarily the same as the fqdn of
# the mailserver
hostName = "webmail.bloodwine.cyou";
extraConfig = ''
# starttls needed for authentication, so the fqdn required to match
# the certificate
$config['smtp_server'] = "tls://${config.mailserver.fqdn}";
$config['smtp_user'] = "%u";
$config['smtp_pass'] = "%p";
'';
};
services.nginx.virtualHosts.${hostName} = {
useACMEHost = sp.domain;
forceSSL = true;
};
};
}