mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-08-08 04:44:39 -05:00
Compare commits
10 commits
c83b20867c
...
b01f84b5d3
Author | SHA1 | Date | |
---|---|---|---|
![]() |
b01f84b5d3 | ||
![]() |
e3d9390610 | ||
![]() |
cbb131af43 | ||
![]() |
41f69228a9 | ||
![]() |
a3abcf8293 | ||
![]() |
0e9fdb2aeb | ||
![]() |
006fb3ac28 | ||
![]() |
c9f3d66cdf | ||
![]() |
09746f6f7d | ||
![]() |
e89d7b75de |
2 changed files with 14 additions and 6 deletions
|
@ -4,9 +4,7 @@
|
|||
...
|
||||
}:
|
||||
let
|
||||
inherit (flake.config.machines.devices)
|
||||
ceres
|
||||
;
|
||||
inherit (flake.config.machines.devices) ceres;
|
||||
inherit (flake.config.services.instances) smtp forgejo web;
|
||||
service = forgejo;
|
||||
localhost = web.localhost.address0;
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
}:
|
||||
|
||||
let
|
||||
inherit (flake.config.machines.devices) ceres;
|
||||
inherit (flake.config.services.instances) comfyui web;
|
||||
service = comfyui;
|
||||
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 = [
|
||||
"Z ${service.paths.path0}/models 755 root root -"
|
||||
"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 = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue