2019-09-08 15:27:22 +02:00
|
|
|
{ options, config, lib, pkgs, ... }:
|
2019-06-22 23:58:08 +02:00
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
2020-11-23 23:07:42 +01:00
|
|
|
if (config.services.nextcloud.enable == true) then {
|
|
|
|
vHost = {
|
2019-06-22 23:58:08 +02:00
|
|
|
enableACME = config.services.nextcloud.https;
|
|
|
|
forceSSL = config.services.nextcloud.https;
|
|
|
|
};
|
2020-11-23 23:07:42 +01:00
|
|
|
}.vHost else {}
|