Get rid of the last use of mkThenElse
This commit is contained in:
parent
0de3a0cff3
commit
1e666c10fa
@ -184,12 +184,7 @@ in
|
|||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
services.httpd = mkIf cfg.enableWebInterface {
|
services.httpd.extraConfig = optionalString cfg.enableWebInterface extraHttpdConfig;
|
||||||
extraConfig = mkThenElse {
|
|
||||||
thenPart = extraHttpdConfig;
|
|
||||||
elsePart = "";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user