From 05f0d8157fa3b2f41154ceec3b120c998977d117 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laure=CE=B7t?= Date: Sun, 25 Jun 2023 15:33:43 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20(hydrogen/nginx)=20add=20projet-pro?= =?UTF-8?q?bleme-inverse-3D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hosts/hydrogen/services/nginx/n7/default.nix | 2 ++ .../services/nginx/n7/projet-probleme-inverse-3D.nix | 11 +++++++++++ 2 files changed, 13 insertions(+) create mode 100644 hosts/hydrogen/services/nginx/n7/projet-probleme-inverse-3D.nix diff --git a/hosts/hydrogen/services/nginx/n7/default.nix b/hosts/hydrogen/services/nginx/n7/default.nix index 3c14286..5960e19 100644 --- a/hosts/hydrogen/services/nginx/n7/default.nix +++ b/hosts/hydrogen/services/nginx/n7/default.nix @@ -13,6 +13,8 @@ "/projet-intelligence-artificielle-multimedia/" = import ./projet-intelligence-artificielle-multimedia.nix pkgs; "/TP-calcul-parallele/" = import ./TP-calcul-parallele.nix pkgs; + "/projet-probleme-inverse-3D/" = + import ./projet-probleme-inverse-3D.nix pkgs; }; }; }; diff --git a/hosts/hydrogen/services/nginx/n7/projet-probleme-inverse-3D.nix b/hosts/hydrogen/services/nginx/n7/projet-probleme-inverse-3D.nix new file mode 100644 index 0000000..5c2f6ad --- /dev/null +++ b/hosts/hydrogen/services/nginx/n7/projet-probleme-inverse-3D.nix @@ -0,0 +1,11 @@ +{ pkgs, ... }: +let + pages = pkgs.fetchgit { + url = "https://git.fainsin.bzh/ENSEEIHT/projet-probleme-inverse-3D"; + rev = "9c75aadaf1b779e4f88fd42de163dedd8d5e918a"; # pages + sha256 = "19s8ccvarlps70aqc8njn92sbmmjbpc1d7q08hdb5apghmkplj9f"; + }; +in { + alias = "${pages}/"; + index = "index.html"; +}