feat: install nextcloud

This commit is contained in:
Ahwx 2024-07-17 01:33:59 +02:00
parent 4bba7bbf2a
commit 874557c350

View file

@ -0,0 +1,21 @@
{ config, ... }:
{
services.nextcloud = {
enable = true;
hostName = "cloud.liv.town";
https = true;
virtualHosts.${config.services.nextcloud.hostName} = {
forceSSL = true;
enableACME = true;
};
};
security.acme = {
acceptTerms = true;
certs = {
${config.services.nextcloud.hostName}.email = "ahwx@ahwx.org";
};
};
}