feat: comfyui-test

This commit is contained in:
Nick 2025-07-29 16:42:30 -05:00
parent c9f3d66cdf
commit 006fb3ac28
2 changed files with 13 additions and 3 deletions

View file

@ -4,9 +4,7 @@
... ...
}: }:
let let
inherit (flake.config.machines.devices) inherit (flake.config.machines.devices) ceres;
ceres
;
inherit (flake.config.services.instances) smtp forgejo web; inherit (flake.config.services.instances) smtp forgejo web;
service = forgejo; service = forgejo;
localhost = web.localhost.address0; localhost = web.localhost.address0;

View file

@ -6,6 +6,7 @@
}: }:
let let
inherit (flake.config.machines.devices) ceres;
inherit (flake.config.services.instances) comfyui web; inherit (flake.config.services.instances) comfyui web;
service = comfyui; service = comfyui;
localhost = web.localhost.address1; localhost = web.localhost.address1;
@ -54,7 +55,18 @@ in
}; };
}; };
fileSystems."/var/lib/${service.name}" = {
device = service.paths.path0;
fsType = "none";
options = [
"bind"
];
depends = [
ceres.storage0.mount
];
};
systemd.tmpfiles.rules = [ systemd.tmpfiles.rules = [
"Z ${service.paths.path0} 755 ${service.name} ${service.name} -"
"Z ${service.sops.path0} 755 caddy caddy -" "Z ${service.sops.path0} 755 caddy caddy -"
]; ];