modules: services: nginx: enable explicitly
This commit is contained in:
parent
878759cb77
commit
52079bf1e7
|
@ -90,6 +90,9 @@ in
|
||||||
enable = true;
|
enable = true;
|
||||||
password = my.secrets.nextcloud.password;
|
password = my.secrets.nextcloud.password;
|
||||||
};
|
};
|
||||||
|
nginx = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
# The whole *arr software suite
|
# The whole *arr software suite
|
||||||
pirate.enable = true;
|
pirate.enable = true;
|
||||||
# Podcast automatic downloader
|
# Podcast automatic downloader
|
||||||
|
|
|
@ -54,10 +54,7 @@ let
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
options.my.services.nginx = with lib; {
|
options.my.services.nginx = with lib; {
|
||||||
enable =
|
enable = mkEnableOption "Nginx";
|
||||||
mkEnableOption "Nginx, activates when `virtualHosts` is not empty" // {
|
|
||||||
default = builtins.length cfg.virtualHosts != 0;
|
|
||||||
};
|
|
||||||
|
|
||||||
monitoring = {
|
monitoring = {
|
||||||
enable = my.mkDisableOption "monitoring through grafana and prometheus";
|
enable = my.mkDisableOption "monitoring through grafana and prometheus";
|
||||||
|
|
Loading…
Reference in a new issue