mirror of
https://github.com/callumio/nixfiles.git
synced 2025-12-17 11:39:19 +00:00
18 lines
417 B
Nix
18 lines
417 B
Nix
{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];
|
|
}
|