1
0

hosts/web-2: host fieldpoc documentation

This commit is contained in:
clerie 2023-09-15 20:43:09 +02:00
parent 6fced94cb5
commit 1e22756876
2 changed files with 20 additions and 0 deletions

View File

@ -10,6 +10,7 @@
./chaosevents.nix
./clerie.nix
./drop.nix
./fieldpoc.nix
./gitea.nix
./iot-data.nix
./ip.nix

19
hosts/web-2/fieldpoc.nix Normal file
View File

@ -0,0 +1,19 @@
{ ... }: {
services.update-from-hydra.paths.fieldpoc = {
enable = true;
hydraUrl = "https://hydra.clerie.de";
hydraProject = "clerie";
hydraJobset = "fieldpoc";
hydraJob = "packages.x86_64-linux.docs";
nixStoreUri = "https://nix-cache.clerie.de";
resultPath = "/srv/fieldpoc";
};
services.nginx.virtualHosts = {
"fieldpoc.clerie.de" = {
enableACME = true;
forceSSL = true;
root = "/srv/fieldpoc";
};
};
}