diff --git a/hosts/hydrogen/services/nginx/n7/TP-reinforcement-learning.nix b/hosts/hydrogen/services/nginx/n7/TP-reinforcement-learning.nix new file mode 100644 index 0000000..39473cf --- /dev/null +++ b/hosts/hydrogen/services/nginx/n7/TP-reinforcement-learning.nix @@ -0,0 +1,11 @@ +{ pkgs, ... }: +let + pages = pkgs.fetchgit { + url = "https://git.fainsin.bzh/ENSEEIHT/TP-reinforcement-learning"; + rev = "cfd97e864894af07ba768d8fc9382ddfcc09400f"; # pages + sha256 = "sha256-yM6XEZHJbhPktPBxG0NGkdoVX3VoZi/sFw4KIvsrclc="; + }; +in { + alias = "${pages}/"; + index = "index.html"; +} diff --git a/hosts/hydrogen/services/nginx/n7/default.nix b/hosts/hydrogen/services/nginx/n7/default.nix index b0295f4..376b277 100644 --- a/hosts/hydrogen/services/nginx/n7/default.nix +++ b/hosts/hydrogen/services/nginx/n7/default.nix @@ -7,15 +7,30 @@ locations = { "/".return = "301 $scheme://git.fainsin.bzh/ENSEEIHT"; } // { - "/projet-audionumerique/" = import ./projet-audionumerique.nix pkgs; - "/projet-systemes-algorithmes-repartis/" = + + "/projet-audionumerique/" = # # + import ./projet-audionumerique.nix pkgs; + + "/projet-systemes-algorithmes-repartis/" = # # import ./projet-systemes-algorithmes-repartis.nix pkgs; - "/projet-intelligence-artificielle-multimedia/" = + + "/projet-intelligence-artificielle-multimedia/" = # # import ./projet-intelligence-artificielle-multimedia.nix pkgs; - "/TP-calcul-parallele/" = import ./TP-calcul-parallele.nix pkgs; - "/projet-probleme-inverse-3D/" = + + "/projet-probleme-inverse-3D/" = # # import ./projet-probleme-inverse-3D.nix pkgs; - "/projet-long/" = import ./projet-long.nix pkgs; + + "/projet-long/" = # # + import ./projet-long.nix pkgs; + + } // { + + "/TP-calcul-parallele/" = # # + import ./TP-calcul-parallele.nix pkgs; + + "/TP-reinforcement-learning/" = # # + import ./TP-reinforcement-learning.nix pkgs; + }; }; };