This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

superconfig / configs / n8n.nix
823 B 26 lines
1{ 2 pkgs, 3 ... 4}: 5{ 6 services.n8n = { 7 enable = true; 8 openFirewall = true; 9 environment.N8N_SECURE_COOKIE = "false"; 10 }; 11 12 networking.firewall.interfaces.retiolum.allowedTCPPorts = [ 5678 ]; 13 networking.firewall.interfaces.wiregrill.allowedTCPPorts = [ 5678 ]; 14 15 # DynamicUser state (config holds the credentials' encryption key); the 16 # SQLite database is dumped consistently instead of copied. 17 lass.backup.state.n8n = { 18 folders = [ "/var/lib/private/n8n" ]; 19 exclude = [ "/var/lib/private/n8n/.n8n/database.sqlite*" ]; 20 preBackup = '' 21 ${pkgs.sqlite}/bin/sqlite3 -cmd ".timeout 60000" /var/lib/private/n8n/.n8n/database.sqlite ".backup /var/backup/n8n.sqlite" 22 ''; 23 # WAL-mode SQLite readers need to write the -shm file 24 readWritePaths = [ "/var/lib/private/n8n/.n8n" ]; 25 }; 26}