Files
Olympus/system-config/services/containers/n8n/default.nix
2025-07-29 17:57:03 -05:00

34 lines
769 B
Nix

{ config, lib, ... }: {
options.sysconfig.opts.virtualization.n8n.enable = lib.options.mkOption {
type = lib.types.bool;
default = false;
};
config = lib.mkIf config.sysconfig.opts.virtualization.n8n.enable {
containers.n8n = {
autoStart = true;
privateNetwork = true;
hostAddress = "192.168.100.10";
localAddress = "192.168.100.21";
config = {
services.n8n = {
enable = true;
openFirewall = true;
settings = {};
webhookUrl = "";
};
system.stateVersion = "25.05";
};
};
};
}