diff --git a/modules/nixos/services/forgejo/default.nix b/modules/nixos/services/forgejo/default.nix index 3673b71..82a796f 100755 --- a/modules/nixos/services/forgejo/default.nix +++ b/modules/nixos/services/forgejo/default.nix @@ -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; diff --git a/systems/ceres/config/comfyui.nix b/systems/ceres/config/comfyui.nix index 503dbde..675e1ab 100755 --- a/systems/ceres/config/comfyui.nix +++ b/systems/ceres/config/comfyui.nix @@ -6,6 +6,7 @@ }: let + inherit (flake.config.machines.devices) ceres; inherit (flake.config.services.instances) comfyui web; service = comfyui; 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 = [ + "Z ${service.paths.path0} 755 ${service.name} ${service.name} -" "Z ${service.sops.path0} 755 caddy caddy -" ];