infrastructure/hosts/hydrogen/services/nginx/n7/default.nix

35 lines
1.5 KiB
Nix
Raw Normal View History

2023-12-15 15:18:36 +00:00
{
inputs,
system,
pkgs,
...
}: {
services.nginx.virtualHosts = {
"n7.laurent.fainsin.bzh" = {
enableACME = true;
forceSSL = true;
2023-12-15 15:18:36 +00:00
locations =
{
"/".return = "301 $scheme://git.fainsin.bzh/ENSEEIHT";
}
// {
"/projet-audionumerique/" = import ./projet-audionumerique.nix {inherit inputs system;};
"/projet-systemes-algorithmes-repartis/" = import ./projet-systemes-algorithmes-repartis.nix {inherit inputs system;};
2023-12-15 15:18:36 +00:00
"/projet-intelligence-artificielle-multimedia/" = import ./projet-intelligence-artificielle-multimedia.nix {inherit inputs system;};
"/projet-probleme-inverse-3D/" = import ./projet-probleme-inverse-3D.nix pkgs;
"/projet-modelisation-geometrique/" = import ./projet-modelisation-geometrique.nix {inherit inputs system;};
2023-12-15 15:18:36 +00:00
"/projet-long/" = import ./projet-long.nix pkgs;
"/projet-oral-japonais/" = import ./projet-oral-japonais.nix {inherit inputs system;};
"/projet-oral-anglais/" = import ./projet-oral-anglais.nix {inherit inputs system;};
"/projet-fin-etude/" = import ./projet-fin-etude.nix pkgs;
}
// {
"/TP-calcul-parallele/" = import ./TP-calcul-parallele.nix {inherit inputs system;};
"/TP-reinforcement-learning/" = import ./TP-reinforcement-learning.nix pkgs;
"/TP-traitement-audio-visuel/" = import ./TP-traitement-audio-visuel.nix pkgs;
};
};
};
}