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

21 lines
420 B
Nix
Raw Normal View History

2023-01-19 11:24:38 +00:00
{ config, ... }: {
2023-01-18 19:14:16 +00:00
services.n8n = {
enable = true;
openFirewall = true;
settings = {
editorBaseUrl = "https://wf.lanakk.com";
host = "https://wf.lanakk.com";
};
};
systemd.services.n8n.environment = {
2023-01-21 06:34:47 +00:00
BILLBEE_API_KEY = config.age.secrets.billbee-api-key.path;
2023-01-18 19:14:16 +00:00
};
services.caddy.extraConfig = ''
2023-01-19 11:24:38 +00:00
wf.lanakk.com {
reverse_proxy localhost:5678
}
'';
2023-01-18 19:14:16 +00:00
}