nixos/services/nginx_vHosts/nextcloud.nix

19 lines
249 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;
if config.services.nextcloud.enable then
{
vHost = {
enableACME = config.services.nextcloud.https;
forceSSL = config.services.nextcloud.https;
};
}
.vHost
else
{ }