diff options
Diffstat (limited to 'module')
| -rw-r--r-- | module/default.nix | 14 |
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}" + ]) ]; } // ( |
