Loading nixos/modules/services/misc/n8n.nix +5 −9 Original line number Diff line number Diff line Loading @@ -240,14 +240,6 @@ in (coercedTo bool builtins.toJSON str) ]); options = { N8N_RUNNERS_CONFIG_PATH = lib.mkOption { internal = true; type = with lib.types; nullOr path; default = launcherConfigFile; description = '' Path to the configuration file for the task runner launcher. ''; }; N8N_RUNNERS_AUTH_TOKEN_FILE = lib.mkOption { type = with lib.types; nullOr path; default = cfg.environment.N8N_RUNNERS_AUTH_TOKEN_FILE; Loading Loading @@ -401,7 +393,11 @@ in after = [ "n8n.service" ]; requires = [ "n8n.service" ]; wantedBy = [ "multi-user.target" ]; environment = runnersEnv.regular // runnersEnv.fileBasedTransformed; environment = { N8N_RUNNERS_CONFIG_PATH = launcherConfigFile; } // runnersEnv.regular // runnersEnv.fileBasedTransformed; serviceConfig = { Type = "simple"; ExecStart = "${lib.getExe runnersCfg.launcherPackage} ${lib.concatStringsSep " " runnerTypes}"; Loading Loading
nixos/modules/services/misc/n8n.nix +5 −9 Original line number Diff line number Diff line Loading @@ -240,14 +240,6 @@ in (coercedTo bool builtins.toJSON str) ]); options = { N8N_RUNNERS_CONFIG_PATH = lib.mkOption { internal = true; type = with lib.types; nullOr path; default = launcherConfigFile; description = '' Path to the configuration file for the task runner launcher. ''; }; N8N_RUNNERS_AUTH_TOKEN_FILE = lib.mkOption { type = with lib.types; nullOr path; default = cfg.environment.N8N_RUNNERS_AUTH_TOKEN_FILE; Loading Loading @@ -401,7 +393,11 @@ in after = [ "n8n.service" ]; requires = [ "n8n.service" ]; wantedBy = [ "multi-user.target" ]; environment = runnersEnv.regular // runnersEnv.fileBasedTransformed; environment = { N8N_RUNNERS_CONFIG_PATH = launcherConfigFile; } // runnersEnv.regular // runnersEnv.fileBasedTransformed; serviceConfig = { Type = "simple"; ExecStart = "${lib.getExe runnersCfg.launcherPackage} ${lib.concatStringsSep " " runnerTypes}"; Loading