From 35a3820be472555919d541aa59bcebfe6c289dbc Mon Sep 17 00:00:00 2001 From: niten Date: Mon, 20 Mar 2023 18:40:05 -0700 Subject: [PATCH] Unwrap list --- module.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module.nix b/module.nix index 09f47e7..98ee0b7 100644 --- a/module.nix +++ b/module.nix @@ -101,7 +101,7 @@ in { "mqtt.passwd:${cfg.mqtt-client.password-file}" ]; ExecStart = pkgs.writeShellScript "suanni-server.sh" - (concatStringsSep " " ([ + (concatStringsSep " " [ "suanni-server" "--hostname=${cfg.event-listener.hostname}" "--port=${toString cfg.event-listener.port}" @@ -115,7 +115,7 @@ in { "--mqtt-password-file=$CREDENTIALS_DIRECTORY/mqtt.passwd" "--objectifier-host=${cfg.objectifier-client.host}" "--objectifier-port=${toString cfg.objectifier-client.port}" - ]) ++ (optional cfg.verbose "--verbose")); + ]) ++ (optional cfg.verbose "--verbose"); }; }; };