mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-16 18:15:13 -05:00
feat: caddy test
This commit is contained in:
parent
5ce9c5ceb5
commit
08c2bcec34
1 changed files with 11 additions and 0 deletions
|
@ -1,4 +1,5 @@
|
||||||
{flake, ...}: let
|
{flake, ...}: let
|
||||||
|
inherit (flake.config.machines.devices) server;
|
||||||
inherit (flake.config.services.instances) upRootNutrition web;
|
inherit (flake.config.services.instances) upRootNutrition web;
|
||||||
service = upRootNutrition;
|
service = upRootNutrition;
|
||||||
localhost = web.localhost.address0;
|
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} -"
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue