18 lines
276 B
Nix
18 lines
276 B
Nix
{
|
|
options,
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}:
|
|
with lib;
|
|
if (config.services.nextcloud.enable == true)
|
|
then
|
|
{
|
|
vHost = {
|
|
enableACME = config.services.nextcloud.https;
|
|
forceSSL = config.services.nextcloud.https;
|
|
};
|
|
}
|
|
.vHost
|
|
else {}
|