nixos/ntopng: seperate interface config with newlines

This commit is contained in:
Emery Hemingway 2023-07-21 21:01:36 +01:00
parent e2595fcc49
commit b6c5112152

View File

@ -20,7 +20,7 @@ let
''
else
pkgs.writeText "ntopng.conf" ''
${concatStringsSep " " (map (e: "--interface=" + e) cfg.interfaces)}
${concatStringsSep "\n" (map (e: "--interface=${e}") cfg.interfaces)}
--http-port=${toString cfg.httpPort}
--redis=${cfg.redis.address}
--data-dir=/var/lib/ntopng