feat: opencloud test

This commit is contained in:
Nick 2025-07-07 14:53:49 -05:00
parent 7b7e2f85ff
commit 954a7d83bc

View file

@ -3,7 +3,7 @@ let
inherit (flake.config.machines.devices) ceres;
inherit (flake.config.services.instances) opencloud web;
service = opencloud;
localhost = web.localhost.address1;
localhost = web.localhost.address0;
host = service.domains.url0;
in
{
@ -53,8 +53,19 @@ 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.paths.path0} 755 ${service.name} ${service.name} -"
"Z ${service.sops.path0} 755 ${service.name} ${service.name} -"
];