upgrade n8n to latest
This commit is contained in:
parent
ea7c01dd88
commit
a0722e229c
3 changed files with 33 additions and 3 deletions
|
|
@ -1,7 +1,20 @@
|
|||
{
|
||||
inputs,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
let
|
||||
declaration = "services/misc/n8n.nix";
|
||||
nixpkgsN8n = inputs.n8n-nixpkgs;
|
||||
pkgsN8n = import nixpkgsN8n {
|
||||
inherit (pkgs) system;
|
||||
config.allowUnfree = true;
|
||||
};
|
||||
in
|
||||
{
|
||||
disabledModules = [ declaration ];
|
||||
imports = [ "${nixpkgsN8n}/nixos/modules/${declaration}" ];
|
||||
options = { };
|
||||
config = {
|
||||
services.nginx.virtualHosts = {
|
||||
|
|
@ -19,12 +32,11 @@
|
|||
};
|
||||
};
|
||||
|
||||
# Expose litellm to my overlay network as well
|
||||
# networking.firewall.interfaces."tailscale0".allowedTCPPorts = [ port ];
|
||||
|
||||
services.n8n = {
|
||||
enable = true;
|
||||
};
|
||||
# no package override in this service option
|
||||
systemd.services.n8n.serviceConfig.ExecStart = lib.mkForce "${pkgsN8n.n8n}/bin/n8n";
|
||||
systemd.services.n8n.environment = {
|
||||
# N8N_SECURE_COOKIE = "false";
|
||||
N8N_LISTEN_ADDRESS = "127.0.0.1";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue