nixos/services/nginx_vHosts/nextcloud.nix

19 lines
276 B
Nix
Raw Normal View History

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 20:23:04 +02:00
if (config.services.nextcloud.enable == true)
then
{
vHost = {
enableACME = config.services.nextcloud.https;
forceSSL = config.services.nextcloud.https;
};
}
.vHost
else {}