Use the enable flag

This commit is contained in:
2023-09-17 23:22:52 -07:00
parent 457cfc3900
commit 75f4e195fa

View File

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