From 52079bf1e7caf0e93e8128a189656edc96a33a92 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Mon, 30 Aug 2021 15:37:31 +0200 Subject: [PATCH] modules: services: nginx: enable explicitly --- machines/porthos/services.nix | 3 +++ modules/services/nginx.nix | 5 +---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/machines/porthos/services.nix b/machines/porthos/services.nix index ac33819..28b2494 100644 --- a/machines/porthos/services.nix +++ b/machines/porthos/services.nix @@ -90,6 +90,9 @@ in enable = true; password = my.secrets.nextcloud.password; }; + nginx = { + enable = true; + }; # The whole *arr software suite pirate.enable = true; # Podcast automatic downloader diff --git a/modules/services/nginx.nix b/modules/services/nginx.nix index 2a64c65..c2c3a4d 100644 --- a/modules/services/nginx.nix +++ b/modules/services/nginx.nix @@ -54,10 +54,7 @@ let in { options.my.services.nginx = with lib; { - enable = - mkEnableOption "Nginx, activates when `virtualHosts` is not empty" // { - default = builtins.length cfg.virtualHosts != 0; - }; + enable = mkEnableOption "Nginx"; monitoring = { enable = my.mkDisableOption "monitoring through grafana and prometheus";