nixos/n8n: fix malformed env vars

This commit is contained in:
sweenu
2025-12-24 17:52:41 +01:00
parent 09701a5e86
commit 5537ea2642
2 changed files with 3 additions and 2 deletions
+2 -2
View File
@@ -59,7 +59,7 @@ in
readOnly = true;
};
N8N_DIAGNOSTICS_ENABLED = lib.mkOption {
type = with lib.types; coercedTo bool toString str;
type = with lib.types; coercedTo bool builtins.toJSON str;
default = false;
description = ''
Whether to share selected, anonymous telemetry with n8n.
@@ -67,7 +67,7 @@ in
'';
};
N8N_VERSION_NOTIFICATIONS_ENABLED = lib.mkOption {
type = with lib.types; coercedTo bool toString str;
type = with lib.types; coercedTo bool builtins.toJSON str;
default = false;
description = ''
When enabled, n8n sends notifications of new versions and security updates.
+1
View File
@@ -28,5 +28,6 @@ in
machine.succeed("grep -qF ${webhookUrl} /etc/systemd/system/n8n.service")
machine.succeed("grep -qF 'HOME=/var/lib/n8n' /etc/systemd/system/n8n.service")
machine.fail("grep -qF 'GENERIC_TIMEZONE=' /etc/systemd/system/n8n.service")
machine.succeed("grep -qF 'N8N_DIAGNOSTICS_ENABLED=false' /etc/systemd/system/n8n.service")
'';
}