This commit is contained in:
Callum Leslie 2025-09-16 10:36:32 +01:00
parent 7789097c17
commit fedd077861
Signed by: cleslie
GPG key ID: 5A944DF89B6F65AC
6 changed files with 220 additions and 11 deletions

18
hosts/hermes/n8n.nix Normal file
View file

@ -0,0 +1,18 @@
{pkgs, ...}: let
domain = "automation.cleslie.uk";
in {
services = {
cloudflare-dyndns.domains = [domain];
n8n = {
enable = true;
webhookUrl = "https://" + domain + "/";
settings = {
port = 5678;
};
};
caddy.virtualHosts.${domain}.extraConfig = ''
reverse_proxy http://127.0.0.1:5678
'';
};
environment.systemPackages = with pkgs; [mupdf-headless];
}