{ config, pkgs, ... }: { services.comfyui = { enable = true; openFirewall = true; host = "0.0.0.0"; # Allow external connections package = pkgs.comfyuiPackages.comfyui.override { extensions = with pkgs.comfyuiPackages.extensions; [ acly-inpaint acly-tooling cubiq-ipadapter-plus fannovel16-controlnet-aux ]; commandLineArgs = [ "--preview-method" "auto" ]; }; }; }