nixos/services/nginx_vHosts/nextcloud.nix
2023-09-11 21:20:14 +02:00

18 lines
266 B
Nix

{
options,
config,
lib,
pkgs,
...
}:
with lib;
if config.services.nextcloud.enable
then
{
vHost = {
enableACME = config.services.nextcloud.https;
forceSSL = config.services.nextcloud.https;
};
}
.vHost
else {}