mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-08-08 21:04:38 -05:00
feat: added comfy ui
This commit is contained in:
parent
9598576855
commit
b94b8b2ba4
1 changed files with 37 additions and 46 deletions
|
@ -9,42 +9,48 @@ let
|
||||||
cfg = config.services.comfyui;
|
cfg = config.services.comfyui;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
options.services.comfyui = with lib; {
|
imports = [ ];
|
||||||
enable = mkEnableOption "ComfyUI service";
|
|
||||||
|
|
||||||
package = mkOption {
|
options = {
|
||||||
type = types.package;
|
services.comfyui = with lib; {
|
||||||
default = pkgs.comfyuiPackages.comfyui.override {
|
enable = mkEnableOption "ComfyUI service";
|
||||||
extensions = with pkgs.comfyuiPackages.extensions; [
|
|
||||||
acly-inpaint
|
package = mkOption {
|
||||||
acly-tooling
|
type = types.package;
|
||||||
cubiq-ipadapter-plus
|
default = pkgs.comfyuiPackages.comfyui.override {
|
||||||
fannovel16-controlnet-aux
|
extensions = with pkgs.comfyuiPackages.extensions; [
|
||||||
];
|
# Add desired extensions here
|
||||||
commandLineArgs = [
|
# Example extensions:
|
||||||
"--preview-method"
|
# acly-inpaint
|
||||||
"auto"
|
# acly-tooling
|
||||||
];
|
# cubiq-ipadapter-plus
|
||||||
|
# fannovel16-controlnet-aux
|
||||||
|
];
|
||||||
|
commandLineArgs = [
|
||||||
|
"--preview-method"
|
||||||
|
"auto"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
description = "The ComfyUI package to use";
|
||||||
};
|
};
|
||||||
description = "The ComfyUI package to use";
|
|
||||||
};
|
|
||||||
|
|
||||||
port = mkOption {
|
port = mkOption {
|
||||||
type = types.port;
|
type = types.port;
|
||||||
default = 8188;
|
default = 8188;
|
||||||
description = "Port to listen on";
|
description = "Port to listen on";
|
||||||
};
|
};
|
||||||
|
|
||||||
host = mkOption {
|
host = mkOption {
|
||||||
type = types.str;
|
type = types.str;
|
||||||
default = "0.0.0.0";
|
default = "127.0.0.1";
|
||||||
description = "Host to bind to";
|
description = "Host to bind to";
|
||||||
};
|
};
|
||||||
|
|
||||||
openFirewall = mkOption {
|
openFirewall = mkOption {
|
||||||
type = types.bool;
|
type = types.bool;
|
||||||
default = false;
|
default = false;
|
||||||
description = "Open ports in the firewall";
|
description = "Open ports in the firewall";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -79,19 +85,4 @@ in
|
||||||
|
|
||||||
users.groups.comfyui = { };
|
users.groups.comfyui = { };
|
||||||
};
|
};
|
||||||
services.comfyui = {
|
|
||||||
enable = true;
|
|
||||||
package = pkgs.comfyuiPackages.comfyui.override {
|
|
||||||
extensions = with pkgs.comfyuiPackages.extensions; [
|
|
||||||
acly-inpaint
|
|
||||||
acly-tooling
|
|
||||||
cubiq-ipadapter-plus
|
|
||||||
fannovel16-controlnet-aux
|
|
||||||
];
|
|
||||||
commandLineArgs = [
|
|
||||||
"--preview-method"
|
|
||||||
"auto"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue