modules: services: nginx: enable explicitly
This commit is contained in:
parent
878759cb77
commit
52079bf1e7
2 changed files with 4 additions and 4 deletions
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue