From 5663f01e6de83a5142c0aebef8fa22b2421c7662 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laure=CE=B7t?= Date: Wed, 28 Jun 2023 20:18:11 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20(hydrogen/nginx)=20add=20projet-ora?= =?UTF-8?q?l-anglais?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hosts/hydrogen/services/nginx/n7/default.nix | 3 +++ .../services/nginx/n7/projet-oral-anglais.nix | 11 +++++++++++ 2 files changed, 14 insertions(+) create mode 100644 hosts/hydrogen/services/nginx/n7/projet-oral-anglais.nix diff --git a/hosts/hydrogen/services/nginx/n7/default.nix b/hosts/hydrogen/services/nginx/n7/default.nix index 4f84b8c..ce34580 100644 --- a/hosts/hydrogen/services/nginx/n7/default.nix +++ b/hosts/hydrogen/services/nginx/n7/default.nix @@ -29,6 +29,9 @@ "/projet-oral-japonais/" = # # import ./projet-oral-japonais.nix pkgs; + "/projet-oral-anglais/" = # # + import ./projet-oral-anglais.nix pkgs; + } // { "/TP-calcul-parallele/" = # # diff --git a/hosts/hydrogen/services/nginx/n7/projet-oral-anglais.nix b/hosts/hydrogen/services/nginx/n7/projet-oral-anglais.nix new file mode 100644 index 0000000..0024e48 --- /dev/null +++ b/hosts/hydrogen/services/nginx/n7/projet-oral-anglais.nix @@ -0,0 +1,11 @@ +{ pkgs, ... }: +let + pages = pkgs.fetchgit { + url = "https://git.fainsin.bzh/ENSEEIHT/projet-oral-anglais"; + rev = "4a4404cefdbda12e7ddfcc36c53a2390e4bfc455"; # pages + sha256 = "sha256-ulZOQcF0Rc/1wSG1j17NHq4gxNkGjncI9ebokPf/+w4="; + }; +in { + alias = "${pages}/"; + index = "slides.html"; +}