Get rid of the last use of mkThenElse

This commit is contained in:
Eelco Dolstra 2012-09-20 16:54:46 -04:00
parent 0de3a0cff3
commit 1e666c10fa

View File

@ -184,12 +184,7 @@ in
'';
};
services.httpd = mkIf cfg.enableWebInterface {
extraConfig = mkThenElse {
thenPart = extraHttpdConfig;
elsePart = "";
};
};
services.httpd.extraConfig = optionalString cfg.enableWebInterface extraHttpdConfig;
};