1
0

Compare commits

..

No commits in common. "362a6fcf7fc6314ca73971a46ca263ddf82119e8" and "6fced94cb5c7cdc4ce2b2ae0949635ee49a4797e" have entirely different histories.

3 changed files with 26 additions and 20 deletions

View File

@ -10,7 +10,6 @@
./chaosevents.nix ./chaosevents.nix
./clerie.nix ./clerie.nix
./drop.nix ./drop.nix
./fieldpoc.nix
./gitea.nix ./gitea.nix
./iot-data.nix ./iot-data.nix
./ip.nix ./ip.nix
@ -19,6 +18,7 @@
./milchinsel.nix ./milchinsel.nix
./mitel-ommclient2.nix ./mitel-ommclient2.nix
./ping.nix ./ping.nix
./prediger.nix
./public.nix ./public.nix
./radicale.nix ./radicale.nix
./reichartstrasse.nix ./reichartstrasse.nix

View File

@ -1,19 +0,0 @@
{ ... }: {
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";
};
};
}

25
hosts/web-2/prediger.nix Normal file
View File

@ -0,0 +1,25 @@
{ pkgs, ... }:
{
services.nginx.virtualHosts = {
"prediger.riese.space" = {
enableACME = true;
forceSSL = true;
root = pkgs.fetchgit {
url = "https://git.clerie.de/clerie/prediger.riese.space.git";
rev = "7f51e884ccf8a258838adb1d825bc51eeef2f475";
sha256 = "sha256-tL+k9l0fX4dc971y4EWGM++BvjfnvRAtU/LvS2QYANU=";
};
locations."/map/" = {
alias = pkgs.fetchgit {
url = "https://git.clerie.de/quiribi/Prediger-workadventure.git";
rev = "304850367aad275c3410005580313dac7fe24788";
sha256 = "sha256-t6C7k5p6ZKfQedumTqxEmGYQqgaE3OiK5q41dDWnz/Y=";
} + "/";
extraConfig = ''
add_header Access-Control-Allow-Origin *;
'';
};
};
};
}