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 = {
|
||||
enable = true;
|
||||
# package = pkgs.comfyui-nvidia;
|
||||
package = pkgs.comfyui-nvidia;
|
||||
host = localhost;
|
||||
models = builtins.attrValues pkgs.nixified-ai.models;
|
||||
customNodes = with comfyui.pkgs; [
|
||||
comfyui-gguf
|
||||
comfyui-impact-pack
|
||||
];
|
||||
user = service.name;
|
||||
acceleration = "cuda";
|
||||
models = builtins.attrValues {
|
||||
inherit (pkgs.nixified-ai)
|
||||
models
|
||||
;
|
||||
};
|
||||
customNodes = builtins.attrValues {
|
||||
inherit (comfyui.pkgs)
|
||||
comfyui-gguf
|
||||
comfyui-impact-pack
|
||||
;
|
||||
};
|
||||
};
|
||||
fileSystems."/var/lib/${service.name}" = {
|
||||
device = service.paths.path0;
|
||||
|
@ -35,7 +43,7 @@ in
|
|||
};
|
||||
|
||||
systemd.tmpfiles.rules = [
|
||||
"Z ${service.paths.path0} 755 ${user0} users -"
|
||||
"Z ${service.paths.path0} 755 ${service.name} ${service.name} -"
|
||||
];
|
||||
|
||||
networking = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue