nixos/neo4j: always set http values, even when disabled

This commit is contained in:
eyjhb 2024-09-13 15:22:34 +02:00
parent c960ba48d1
commit 7c545e26a3

View File

@ -52,11 +52,9 @@ let
server.directories.run=${cfg.directories.home}/run
# HTTP Connector
${lib.optionalString (cfg.http.enable) ''
server.http.enabled=${lib.boolToString cfg.http.enable}
server.http.listen_address=${cfg.http.listenAddress}
server.http.advertised_address=${cfg.http.listenAddress}
''}
server.http.enabled=${lib.boolToString cfg.http.enable}
server.http.listen_address=${cfg.http.listenAddress}
server.http.advertised_address=${cfg.http.listenAddress}
# HTTPS Connector
server.https.enabled=${lib.boolToString cfg.https.enable}