2023-09-11 20:23:04 +02:00
|
|
|
{
|
|
|
|
options,
|
|
|
|
config,
|
|
|
|
lib,
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}:
|
2019-06-22 23:58:08 +02:00
|
|
|
with lib;
|
2023-09-11 21:20:14 +02:00
|
|
|
if config.services.nextcloud.enable
|
2023-09-11 20:23:04 +02:00
|
|
|
then
|
|
|
|
{
|
|
|
|
vHost = {
|
|
|
|
enableACME = config.services.nextcloud.https;
|
|
|
|
forceSSL = config.services.nextcloud.https;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
.vHost
|
|
|
|
else {}
|