mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-08-09 05:14:41 -05:00
Compare commits
No commits in common. "b01f84b5d32271853f69adee5c51961ee0330448" and "c83b20867c7fce6bb2f864875bd72e08da0cf5dd" have entirely different histories.
b01f84b5d3
...
c83b20867c
2 changed files with 6 additions and 14 deletions
|
@ -4,7 +4,9 @@
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
inherit (flake.config.machines.devices) ceres;
|
inherit (flake.config.machines.devices)
|
||||||
|
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,7 +6,6 @@
|
||||||
}:
|
}:
|
||||||
|
|
||||||
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,20 +53,11 @@ 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 = [
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue