From 591b46aec20f7268b252678d5e7c09648479a9e6 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Sun, 22 Mar 2026 14:40:25 +0100 Subject: fix(module): Correctly concat the systemd `ExecStart` command --- module/default.nix | 14 ++++++++------ 1 file 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}" + ]) ]; } // ( -- cgit 1.4.1