feat: testing comfy

This commit is contained in:
Nick 2025-08-03 22:22:18 -05:00
parent a2cebf3117
commit f7b42554d8
2 changed files with 29 additions and 36 deletions

View file

@ -19,27 +19,22 @@ in
package = mkOption {
type = types.package;
default = pkgs.comfyuiPackages.comfyui;
default = pkgs.comfyuiPackages.comfyui.override {
extensions = with pkgs.comfyuiPackages.extensions; [
# Add desired extensions here
# Example extensions:
# acly-inpaint
# acly-tooling
# cubiq-ipadapter-plus
# fannovel16-controlnet-aux
];
commandLineArgs = [
"--preview-method"
"auto"
];
};
description = "The ComfyUI package to use";
};
# mkOption {
# type = types.package;
# default = pkgs.comfyuiPackages.comfyui.override {
# extensions = with pkgs.comfyuiPackages.extensions; [
# # Add desired extensions here
# # Example extensions:
# # acly-inpaint
# # acly-tooling
# # cubiq-ipadapter-plus
# # fannovel16-controlnet-aux
# ];
# commandLineArgs = [
# "--preview-method"
# "auto"
# ];
# };
# description = "The ComfyUI package to use";
# };
port = mkOption {
type = types.port;
@ -76,7 +71,6 @@ in
serviceConfig = {
Type = "simple";
ExecStart = "${cfg.package}/bin/comfyui --port ${toString cfg.port} --listen ${cfg.host}";
ExecStartPost = "${pkgs.bash}/bin/bash -c 'sleep 5 && mkdir -p /var/lib/comfyui/custom_nodes'";
Restart = "on-failure";
User = "comfyui";
Group = "comfyui";