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 {
|
||||
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";
|
||||
|
|
|
@ -22,21 +22,21 @@ in
|
|||
enable = true;
|
||||
openFirewall = true;
|
||||
host = localhost;
|
||||
# package = pkgs.comfyuiPackages.comfyui.override {
|
||||
# extensions = with pkgs.comfyuiPackages.extensions; [
|
||||
# acly-inpaint
|
||||
# acly-tooling
|
||||
# kosinkadink-advanced-controlnet
|
||||
# kosinkadink-animatediff-evolved
|
||||
# kosinkadink-video-helper-suite
|
||||
# lev145-images-grid
|
||||
# ssitu-ultimate-sd-upscale
|
||||
# ];
|
||||
# commandLineArgs = [
|
||||
# "--preview-method"
|
||||
# "auto"
|
||||
# ];
|
||||
# };
|
||||
package = pkgs.comfyuiPackages.comfyui.override {
|
||||
extensions = with pkgs.comfyuiPackages.extensions; [
|
||||
acly-inpaint
|
||||
acly-tooling
|
||||
kosinkadink-advanced-controlnet
|
||||
kosinkadink-animatediff-evolved
|
||||
kosinkadink-video-helper-suite
|
||||
lev145-images-grid
|
||||
ssitu-ultimate-sd-upscale
|
||||
];
|
||||
commandLineArgs = [
|
||||
"--preview-method"
|
||||
"auto"
|
||||
];
|
||||
};
|
||||
};
|
||||
caddy = {
|
||||
virtualHosts = {
|
||||
|
@ -66,7 +66,6 @@ in
|
|||
];
|
||||
};
|
||||
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.sops.path0} 755 caddy caddy -"
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue