mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 14:01:34 +01:00
Replace string concatenation with string interpolation
This commit is contained in:
parent
0119af4d40
commit
fceb6ae418
3 changed files with 3 additions and 3 deletions
|
|
@ -91,7 +91,7 @@ in
|
|||
virtualHosts
|
||||
|> lib.mapAttrs' (
|
||||
_: value:
|
||||
lib.nameValuePair (lib.optionalString (!value.tls) "http://" + value.domain) (
|
||||
lib.nameValuePair (lib.optionalString (!value.tls) "http://${value.domain}") (
|
||||
mkVirtualHostConfig value
|
||||
)
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue