mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-08-08 04:44:39 -05:00
feat: comfyui-test
This commit is contained in:
parent
c9f3d66cdf
commit
006fb3ac28
2 changed files with 13 additions and 3 deletions
|
@ -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;
|
||||||
|
|
|
@ -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 -"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue