From b8af95f4cf511c5f056b463c3a45d2b63c7cfb03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gutyina=20Gerg=C5=91?= Date: Sat, 3 May 2025 19:08:22 +0200 Subject: [PATCH] nixos/n8n: allow unfree in test --- nixos/tests/n8n.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/nixos/tests/n8n.nix b/nixos/tests/n8n.nix index 4d6ce0c0b2b7..56ffabaca1ed 100644 --- a/nixos/tests/n8n.nix +++ b/nixos/tests/n8n.nix @@ -10,9 +10,17 @@ in k900 ]; + node.pkgsReadOnly = false; + nodes.machine = - { pkgs, ... }: + { ... }: { + nixpkgs.config.allowUnfreePredicate = + pkg: + builtins.elem (lib.getName pkg) [ + "n8n" + ]; + services.n8n = { enable = true; webhookUrl = webhookUrl;