services.n8n.environment.N8N_USER_FOLDER

NixOS option

Provide the path where n8n will create the .n8n folder. This directory stores user-specific data, such as database file and encryption key.

type: absolute path
Default
"/var/lib/n8n"
declared in: nixos/modules/services/misc/n8n.nixView source on NixOS/nixpkgs →