From e4e60d1e13548b06d72e0615afcbc652899b977b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laure=CE=B7t?= Date: Sun, 25 Jun 2023 14:29:11 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20(hydrogen/nginx)=20add=20projet-int?= =?UTF-8?q?elligence-artificielle-multimedia?= 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-audionumerique.nix | 3 --- .../projet-intelligence-artificielle-multimedia.nix | 12 ++++++++++++ .../n7/projet-systemes-algorithmes-repartis.nix | 1 - 4 files changed, 14 insertions(+), 4 deletions(-) create mode 100644 hosts/hydrogen/services/nginx/n7/projet-intelligence-artificielle-multimedia.nix diff --git a/hosts/hydrogen/services/nginx/n7/default.nix b/hosts/hydrogen/services/nginx/n7/default.nix index bf66722..4d8608b 100644 --- a/hosts/hydrogen/services/nginx/n7/default.nix +++ b/hosts/hydrogen/services/nginx/n7/default.nix @@ -10,6 +10,8 @@ "/projet-audionumerique/" = import ./projet-audionumerique.nix pkgs; "/projet-systemes-algorithmes-repartis/" = import ./projet-systemes-algorithmes-repartis.nix pkgs; + "/projet-intelligence-artificielle-multimedia/" = + import ./projet-intelligence-artificielle-multimedia.nix pkgs; }; }; }; diff --git a/hosts/hydrogen/services/nginx/n7/projet-audionumerique.nix b/hosts/hydrogen/services/nginx/n7/projet-audionumerique.nix index 76c36eb..49c4551 100644 --- a/hosts/hydrogen/services/nginx/n7/projet-audionumerique.nix +++ b/hosts/hydrogen/services/nginx/n7/projet-audionumerique.nix @@ -2,13 +2,10 @@ let pages = pkgs.fetchgit { url = "https://git.fainsin.bzh/ENSEEIHT/projet-audionumerique"; - fetchLFS = true; # https://github.com/go-gitea/gitea/issues/4773 rev = "ece8c09f81430c4cc39dddbb1ad7f518f09aaa67"; # pages sha256 = "130islkd3jy9vbjm3wnvadamk3n9qqlm8jn7yzywxagjyyrxg0y0"; }; in { - # "/projet-audionumerique/" = { alias = "${pages}/"; index = "slides.html"; - # }; } diff --git a/hosts/hydrogen/services/nginx/n7/projet-intelligence-artificielle-multimedia.nix b/hosts/hydrogen/services/nginx/n7/projet-intelligence-artificielle-multimedia.nix new file mode 100644 index 0000000..d0985d9 --- /dev/null +++ b/hosts/hydrogen/services/nginx/n7/projet-intelligence-artificielle-multimedia.nix @@ -0,0 +1,12 @@ +{ pkgs, ... }: +let + pages = pkgs.fetchgit { + url = + "https://git.fainsin.bzh/ENSEEIHT/projet-intelligence-artificielle-multimedia"; + rev = "a32c0ec1d010ee8f183fed35169a8e6a92282e28"; # pages + sha256 = "1lrlnqnglkmqspvaphv9wz7d9wl26jkx2pn45b5793xds0w32vsk"; + }; +in { + alias = "${pages}/"; + index = "slides.html"; +} diff --git a/hosts/hydrogen/services/nginx/n7/projet-systemes-algorithmes-repartis.nix b/hosts/hydrogen/services/nginx/n7/projet-systemes-algorithmes-repartis.nix index 24fd96f..7985ce4 100644 --- a/hosts/hydrogen/services/nginx/n7/projet-systemes-algorithmes-repartis.nix +++ b/hosts/hydrogen/services/nginx/n7/projet-systemes-algorithmes-repartis.nix @@ -3,7 +3,6 @@ let pages = pkgs.fetchgit { url = "https://git.fainsin.bzh/ENSEEIHT/projet-systemes-algorithmes-repartis"; - fetchLFS = true; # https://github.com/go-gitea/gitea/issues/4773 rev = "1826a53d95b19400b8dd252cd05b20012e3c3dac"; # pages sha256 = "0n81hpcj7lj5i7jhl8af869vy6fp6bhyrk4fdl6y2rpjgp64zmq2"; };