Files
Olympus/system-config/services/containers/n8n/default.nix
2025-07-27 15:31:40 -05:00

30 lines
698 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 = {
networking.firewall.allowedTCPPorts = [ 80 ];
services.n8n = {
};
system.stateVersion = "25.05";
};
};
};
}