From b6c51121520fefb7e5696099ad59e5080b3f13d0 Mon Sep 17 00:00:00 2001 From: Emery Hemingway Date: Fri, 21 Jul 2023 21:01:36 +0100 Subject: [PATCH] nixos/ntopng: seperate interface config with newlines --- nixos/modules/services/networking/ntopng.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/networking/ntopng.nix b/nixos/modules/services/networking/ntopng.nix index bf7ec19f02a6..a47ee0773d17 100644 --- a/nixos/modules/services/networking/ntopng.nix +++ b/nixos/modules/services/networking/ntopng.nix @@ -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