nix-configurations/hosts/lkk-nix-1/services/n8n.nix

21 lines
395 B
Nix

{
services.n8n = {
enable = true;
openFirewall = true;
settings = {
editorBaseUrl = "https://wf.lanakk.com";
host = "https://wf.lanakk.com";
};
};
systemd.services.n8n.environment = {
BILLBEE_API_KEY = "12345";
};
services.caddy.extraConfig = ''
wf.lanakk.com {
reverse_proxy localhost:5678
}
'';
}