add notenrechner website

This commit is contained in:
Frieder Hannenheim 2025-01-30 13:10:44 +01:00
parent 7aa9df065d
commit cca6385ce8
4 changed files with 69 additions and 1 deletions

View file

@ -12,5 +12,6 @@
./userdir.nix
./ftp.nix
./hyperilo.nix
./notenrechner.nix
];
}

View file

@ -0,0 +1,9 @@
{ config, specialArgs, ... }: let
domain = "notenrechner.${config.networking.domain}";
in {
services.nginx.virtualHosts."${domain}" = {
forceSSL = true;
enableACME = true;
root = specialArgs.notenrechner.packages."x86_64-linux".default;
};
}