diff --git a/hosts/hydrogen/services/nginx/n7/default.nix b/hosts/hydrogen/services/nginx/n7/default.nix index 5960e19..b0295f4 100644 --- a/hosts/hydrogen/services/nginx/n7/default.nix +++ b/hosts/hydrogen/services/nginx/n7/default.nix @@ -15,6 +15,7 @@ "/TP-calcul-parallele/" = import ./TP-calcul-parallele.nix pkgs; "/projet-probleme-inverse-3D/" = import ./projet-probleme-inverse-3D.nix pkgs; + "/projet-long/" = import ./projet-long.nix pkgs; }; }; }; diff --git a/hosts/hydrogen/services/nginx/n7/projet-long.nix b/hosts/hydrogen/services/nginx/n7/projet-long.nix new file mode 100644 index 0000000..2f55f3f --- /dev/null +++ b/hosts/hydrogen/services/nginx/n7/projet-long.nix @@ -0,0 +1,11 @@ +{ pkgs, ... }: +let + pages = pkgs.fetchgit { + url = "https://git.fainsin.bzh/ENSEEIHT/projet-long"; + rev = "8290710fa7461c486dc727966c8eaa2234ae2e7d"; # pages + sha256 = "sha256-Gb/v0YKuxd2F+xOLFNIZcIHWVmzqmbr3QOEc2xwEjPc="; + }; +in { + alias = "${pages}/"; + index = "index.html"; +}