mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-08-08 04:44:39 -05:00
feat: testing comfy
This commit is contained in:
parent
a2cebf3117
commit
f7b42554d8
2 changed files with 29 additions and 36 deletions
|
@ -19,27 +19,22 @@ in
|
||||||
|
|
||||||
package = mkOption {
|
package = mkOption {
|
||||||
type = types.package;
|
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";
|
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 {
|
port = mkOption {
|
||||||
type = types.port;
|
type = types.port;
|
||||||
|
@ -76,7 +71,6 @@ in
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
Type = "simple";
|
Type = "simple";
|
||||||
ExecStart = "${cfg.package}/bin/comfyui --port ${toString cfg.port} --listen ${cfg.host}";
|
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";
|
Restart = "on-failure";
|
||||||
User = "comfyui";
|
User = "comfyui";
|
||||||
Group = "comfyui";
|
Group = "comfyui";
|
||||||
|
|
|
@ -22,21 +22,21 @@ in
|
||||||
enable = true;
|
enable = true;
|
||||||
openFirewall = true;
|
openFirewall = true;
|
||||||
host = localhost;
|
host = localhost;
|
||||||
# package = pkgs.comfyuiPackages.comfyui.override {
|
package = pkgs.comfyuiPackages.comfyui.override {
|
||||||
# extensions = with pkgs.comfyuiPackages.extensions; [
|
extensions = with pkgs.comfyuiPackages.extensions; [
|
||||||
# acly-inpaint
|
acly-inpaint
|
||||||
# acly-tooling
|
acly-tooling
|
||||||
# kosinkadink-advanced-controlnet
|
kosinkadink-advanced-controlnet
|
||||||
# kosinkadink-animatediff-evolved
|
kosinkadink-animatediff-evolved
|
||||||
# kosinkadink-video-helper-suite
|
kosinkadink-video-helper-suite
|
||||||
# lev145-images-grid
|
lev145-images-grid
|
||||||
# ssitu-ultimate-sd-upscale
|
ssitu-ultimate-sd-upscale
|
||||||
# ];
|
];
|
||||||
# commandLineArgs = [
|
commandLineArgs = [
|
||||||
# "--preview-method"
|
"--preview-method"
|
||||||
# "auto"
|
"auto"
|
||||||
# ];
|
];
|
||||||
# };
|
};
|
||||||
};
|
};
|
||||||
caddy = {
|
caddy = {
|
||||||
virtualHosts = {
|
virtualHosts = {
|
||||||
|
@ -66,7 +66,6 @@ in
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
systemd.tmpfiles.rules = [
|
systemd.tmpfiles.rules = [
|
||||||
# "d /var/lib/${service.name}/custom_nodes 755 ${service.name} ${service.name} -"
|
|
||||||
"Z ${service.paths.path0}/models 755 root root -"
|
"Z ${service.paths.path0}/models 755 root root -"
|
||||||
"Z ${service.sops.path0} 755 caddy caddy -"
|
"Z ${service.sops.path0} 755 caddy caddy -"
|
||||||
];
|
];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue