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

19 lines
468 B
Nix

{ config, pkgs, ... }: {
services.n8n = {
enable = true;
openFirewall = true;
settings = {
editorBaseUrl = "https://wf.lanakk.com";
host = "https://wf.lanakk.com";
};
};
systemd.services.n8n.environment = {
BILLBEE_API_KEY =
config.age.secrets.billbee-api-key.path; # TODO env file for systemd service
};
systemd.services.traefik.serviceConfig = {
EnvironmentFile = "${config.age.secrets.traefik-env.path}";
};
}