diff options
| author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-03-22 14:40:25 +0100 |
|---|---|---|
| committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-03-22 14:40:25 +0100 |
| commit | 591b46aec20f7268b252678d5e7c09648479a9e6 (patch) | |
| tree | a8c166dddd00c603c1b8355269eacdc62656ae7c /module/default.nix | |
| parent | fix(module): Actually convert the integer to a string (diff) | |
| download | nix-591b46aec20f7268b252678d5e7c09648479a9e6.zip | |
fix(module): Correctly concat the systemd `ExecStart` command
Diffstat (limited to '')
| -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}" + ]) ]; } // ( |
