feat: added comfy ui

This commit is contained in:
Nick 2025-07-18 19:33:55 -05:00
parent 08e7a47c6a
commit 350bf2a00d
2 changed files with 5 additions and 11 deletions

View file

@ -39,6 +39,7 @@ in
"vaultwarden" "vaultwarden"
"vboxusers" "vboxusers"
"wheel" "wheel"
"comfyui"
]; ];
}; };
}; };

View file

@ -5,13 +5,9 @@
... ...
}: }:
let let
inherit (flake.config.machines.devices) inherit (flake.config.machines.devices) ceres;
ceres inherit (flake.config.services.instances) comfyui web;
; inherit (flake.config.people) user0;
inherit (flake.config.services.instances)
comfyui
web
;
service = comfyui; service = comfyui;
localhost = web.localhost.address1; localhost = web.localhost.address1;
in in
@ -49,13 +45,10 @@ in
}; };
systemd.tmpfiles.rules = [ systemd.tmpfiles.rules = [
"Z ${service.paths.path0} 755 ${service.name} ${service.name} -" "Z ${service.paths.path0} 755 ${user0} ${service.name} -"
"Z ${service.sops.path0} 755 ${service.name} ${service.name} -"
]; ];
users.users.${service.name}.extraGroups = [ users.users.${service.name}.extraGroups = [
"nginx"
"caddy"
"users" "users"
]; ];