From 1b229e93b89ab9fc473c2f1159130073c26655ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laure=CE=B7t?= Date: Tue, 27 Jun 2023 21:08:29 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20(hydrogen/nginx)=20add=20projet-mod?= =?UTF-8?q?elisation-geometrique?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hosts/hydrogen/services/nginx/n7/default.nix | 3 +++ .../nginx/n7/projet-modelisation-geometrique.nix | 11 +++++++++++ 2 files changed, 14 insertions(+) create mode 100644 hosts/hydrogen/services/nginx/n7/projet-modelisation-geometrique.nix diff --git a/hosts/hydrogen/services/nginx/n7/default.nix b/hosts/hydrogen/services/nginx/n7/default.nix index 376b277..b5bbb15 100644 --- a/hosts/hydrogen/services/nginx/n7/default.nix +++ b/hosts/hydrogen/services/nginx/n7/default.nix @@ -20,6 +20,9 @@ "/projet-probleme-inverse-3D/" = # # import ./projet-probleme-inverse-3D.nix pkgs; + "/projet-modelisation-geometrique/" = # # + import ./projet-modelisation-geometrique.nix pkgs; + "/projet-long/" = # # import ./projet-long.nix pkgs; diff --git a/hosts/hydrogen/services/nginx/n7/projet-modelisation-geometrique.nix b/hosts/hydrogen/services/nginx/n7/projet-modelisation-geometrique.nix new file mode 100644 index 0000000..cd272d4 --- /dev/null +++ b/hosts/hydrogen/services/nginx/n7/projet-modelisation-geometrique.nix @@ -0,0 +1,11 @@ +{ pkgs, ... }: +let + pages = pkgs.fetchgit { + url = "https://git.fainsin.bzh/ENSEEIHT/projet-modelisation-geometrique"; + rev = "bf68bccd640e68b92749b0580c82f8ab65e923a8"; # pages + sha256 = "sha256-zAzCRREutwKTuHUxgruWFJAhqrF3e9ei3TCiuBixDDg="; + }; +in { + alias = "${pages}/"; + index = "index.html"; +}