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
bc7fa56e3c
commit
4a0ce7226f
1 changed files with 15 additions and 7 deletions
|
@ -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 = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue