modules: services: nginx: enable explicitly
This commit is contained in:
parent
894b571745
commit
dc2a3610a6
|
@ -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
|
||||
|
|
|
@ -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…
Reference in a new issue