21 lines
484 B
Nix
21 lines
484 B
Nix
{ pkgs, ... }:
|
|
|
|
{
|
|
services.nginx.virtualHosts = {
|
|
"nogo2024.clerie.de" = {
|
|
enableACME = true;
|
|
forceSSL = true;
|
|
locations."/" = {
|
|
return = "404";
|
|
};
|
|
locations."= /nogo2024.ics" = {
|
|
root = pkgs.fetchgit {
|
|
url = "https://git.clerie.de/clerie/nogo2024.git";
|
|
rev = "5e0c692585130f69e46f68bc9b46fe0063169173";
|
|
sha256 = "sha256-8T34z8zXMLCOUQQiw4K0x4Ln9op66EKAyZPKO8b2qao=";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|