nixos-config/modules/services/nextcloud.nix
2024-07-18 19:43:25 +02:00

21 lines
424 B
Nix

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