Compare commits

..

10 commits

Author SHA1 Message Date
Nick
b01f84b5d3 feat: comfyui-test 2025-07-29 17:19:02 -05:00
Nick
e3d9390610 feat: comfyui-test 2025-07-29 17:16:17 -05:00
Nick
cbb131af43 feat: comfyui-test 2025-07-29 17:11:19 -05:00
Nick
41f69228a9 feat: comfyui-test 2025-07-29 17:07:12 -05:00
Nick
a3abcf8293 feat: comfyui-test 2025-07-29 17:03:20 -05:00
Nick
0e9fdb2aeb feat: comfyui-test 2025-07-29 16:49:42 -05:00
Nick
006fb3ac28 feat: comfyui-test 2025-07-29 16:42:30 -05:00
Nick
c9f3d66cdf feat: comfyui-test 2025-07-29 16:35:35 -05:00
Nick
09746f6f7d feat: comfyui-test 2025-07-29 16:33:49 -05:00
Nick
e89d7b75de feat: comfyui-test 2025-07-29 16:21:16 -05:00
2 changed files with 14 additions and 6 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;
@ -53,11 +54,20 @@ in
}; };
}; };
}; };
fileSystems."/var/lib/${service.name}/models" = {
device = "${service.paths.path0}/models";
fsType = "none";
options = [
"bind"
];
depends = [
ceres.storage0.mount
];
};
systemd.tmpfiles.rules = [ systemd.tmpfiles.rules = [
"Z ${service.paths.path0}/models 755 root root -"
"Z ${service.sops.path0} 755 caddy caddy -" "Z ${service.sops.path0} 755 caddy caddy -"
"d ${service.paths.path0}/custom_nodes 0755 ${service.name} ${service.name} -"
"r ${config.services.comfyui.package}/custom_nodes"
"L+ ${config.services.comfyui.package}/custom_nodes - - - - ${service.paths.path0}/custom_nodes"
]; ];
users.users.${service.name}.extraGroups = [ users.users.${service.name}.extraGroups = [