nixos/services/nginx_vHosts/nextcloud.nix

11 lines
233 B
Nix
Raw Normal View History

{ 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 {}