Use the enable flag

This commit is contained in:
niten 2023-09-17 23:22:52 -07:00
parent 457cfc3900
commit 75f4e195fa
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ in {
};
};
config = {
config = mkif cfg.enable {
services.nginx = {
virtualHosts = {
"${cfg.smtp.hostname}".locations."/metrics" = {