nixos/services/nginx_vHosts/nextcloud.nix
2020-11-23 23:07:42 +01:00

10 lines
233 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 {}