hosts/web-2: host fieldpoc documentation
This commit is contained in:
parent
6fced94cb5
commit
1e22756876
@ -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
19
hosts/web-2/fieldpoc.nix
Normal 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";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user