From 0087145957b940160d5ef00043ce39c7a2e82270 Mon Sep 17 00:00:00 2001 From: Christoph Urlacher Date: Mon, 23 Mar 2026 01:46:01 +0100 Subject: [PATCH] Services/ComfyUI: Open port --- system/nixinator/default.nix | 2 ++ system/services/comfyui.nix | 10 +++++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/system/nixinator/default.nix b/system/nixinator/default.nix index f3cb8850..1774fccb 100644 --- a/system/nixinator/default.nix +++ b/system/nixinator/default.nix @@ -124,6 +124,7 @@ # 31431 # Parsec 5173 # SvelteKit 8090 # PocketBase + 8188 # ComfyUI ]; allowedUDPPorts = [ @@ -134,6 +135,7 @@ # 31431 # Parsec 5173 # SvelteKit 8090 # PocketBase + 8188 # ComfyUI ]; }; diff --git a/system/services/comfyui.nix b/system/services/comfyui.nix index 292d7a27..7cf058b7 100644 --- a/system/services/comfyui.nix +++ b/system/services/comfyui.nix @@ -4,7 +4,8 @@ pkgs, ... }: let - comfyuiVersion = "cu128-slim-20260316"; + # comfyuiVersion = "cu128-slim-20260316"; + comfyuiVersion = "cu128-megapak-pt29-20260221"; in { virtualisation.oci-containers.containers = { comfyui = { @@ -42,6 +43,13 @@ in { PUID = "1000"; PGID = "1000"; TZ = "Europe/Berlin"; + + # https://github.com/Comfy-Org/ComfyUI/blob/master/comfy/cli_args.py + # --use-sage-attention + # --lowvram + # --disable-pinned-memory + # --cache-none + CLI_ARGS = "--use-sage-attention"; }; extraOptions = [