...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 = {
|
||||
virtualHosts = {
|
||||
"${cfg.smtp.hostname}".locations."/metrics" = {
|
||||
|
|
Loading…
Reference in New Issue