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-24 18:19:28 +00:00
|
|
|
BILLBEE_API_KEY = config.age.secrets.billbee-api-key.path; # TODO env file for systemd service
|
2023-01-18 19:14:16 +00:00
|
|
|
};
|
|
|
|
}
|