...But type mkIf correctly...
This commit is contained in:
parent
75f4e195fa
commit
2ebd024977
|
@ -63,7 +63,7 @@ in {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
config = mkif cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
services.nginx = {
|
services.nginx = {
|
||||||
virtualHosts = {
|
virtualHosts = {
|
||||||
"${cfg.smtp.hostname}".locations."/metrics" = {
|
"${cfg.smtp.hostname}".locations."/metrics" = {
|
||||||
|
|
Loading…
Reference in New Issue