Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nixos/n8n: correct configuration, webhookUrl type #241783

Merged
merged 2 commits into from
Jul 7, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions nixos/modules/services/misc/n8n.nix
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ in
};

webhookUrl = mkOption {
type = types.string;
type = types.str;
default = "";
description = lib.mdDoc ''
WEBHOOK_URL for n8n, in case we're running behind a reverse proxy.
Expand All @@ -53,7 +53,7 @@ in
N8N_USER_FOLDER = "/var/lib/n8n";
HOME = "/var/lib/n8n";
N8N_CONFIG_FILES = "${configFile}";
WEBHOOK_URL = "${webhookUrl}";
WEBHOOK_URL = "${cfg.webhookUrl}";

# Don't phone home
N8N_DIAGNOSTICS_ENABLED = "false";
Expand Down