summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--module/default.nix14
1 files changed, 8 insertions, 6 deletions
diff --git a/module/default.nix b/module/default.nix
index 6339fef..dff15bb 100644
--- a/module/default.nix
+++ b/module/default.nix
@@ -100,12 +100,14 @@ in {
ExecStart = [
""
- "${lib.getExe cfg.server} \
- serve \
- --port ${builtins.toString cfg.port} \
- ${lib.strings.optionalString (cfg.secretKeyFile != null) "--secret-key-file ${cfg.secretKeyFile}"} \
- --host ${cfg.address} \
- --db-path ${cfg.dbPath}"
+ (builtins.concatStringsSep " " [
+ "${lib.getExe cfg.server}"
+ "serve"
+ "--port ${builtins.toString cfg.port}"
+ "${lib.strings.optionalString (cfg.secretKeyFile != null) "--secret-key-file ${cfg.secretKeyFile}"}"
+ "--host ${cfg.address}"
+ "--db-path ${cfg.dbPath}"
+ ])
];
}
// (