feat: added comfy ui

This commit is contained in:
Nick 2025-07-18 21:27:04 -05:00
parent bc7fa56e3c
commit 4a0ce7226f

View file

@ -15,13 +15,21 @@ in
services.comfyui = { services.comfyui = {
enable = true; enable = true;
# package = pkgs.comfyui-nvidia; package = pkgs.comfyui-nvidia;
host = localhost; host = localhost;
models = builtins.attrValues pkgs.nixified-ai.models; user = service.name;
customNodes = with comfyui.pkgs; [ acceleration = "cuda";
comfyui-gguf models = builtins.attrValues {
comfyui-impact-pack inherit (pkgs.nixified-ai)
]; models
;
};
customNodes = builtins.attrValues {
inherit (comfyui.pkgs)
comfyui-gguf
comfyui-impact-pack
;
};
}; };
fileSystems."/var/lib/${service.name}" = { fileSystems."/var/lib/${service.name}" = {
device = service.paths.path0; device = service.paths.path0;
@ -35,7 +43,7 @@ in
}; };
systemd.tmpfiles.rules = [ systemd.tmpfiles.rules = [
"Z ${service.paths.path0} 755 ${user0} users -" "Z ${service.paths.path0} 755 ${service.name} ${service.name} -"
]; ];
networking = { networking = {