feat: caddy test

This commit is contained in:
Nick 2024-12-20 00:34:07 -06:00
parent 5ce9c5ceb5
commit 08c2bcec34

View file

@ -1,4 +1,5 @@
{flake, ...}: let
inherit (flake.config.machines.devices) server;
inherit (flake.config.services.instances) upRootNutrition web;
service = upRootNutrition;
localhost = web.localhost.address0;
@ -22,4 +23,14 @@ in {
};
};
};
fileSystems."${service.paths.path0}" = {
device = service.paths.path0;
fsType = "none";
options = ["bind"];
depends = [server.storage0.mount];
};
systemd.tmpfiles.rules = [
"Z ${service.paths.path0} 755 ${service.name} ${service.name} -"
];
}