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"; };