✨ (hydrogen/nginx) projet-intelligence-artificielle-multimedia stop using pages, use the flake
This commit is contained in:
parent
f83dda4946
commit
1b88aa463d
|
@ -1,4 +1,4 @@
|
|||
{ pkgs, ... }: {
|
||||
{ inputs, system, pkgs, ... }: {
|
||||
services.nginx.virtualHosts = {
|
||||
"n7.laurent.fainsin.bzh" = {
|
||||
enableACME = true;
|
||||
|
@ -17,7 +17,9 @@
|
|||
import ./projet-systemes-algorithmes-repartis.nix pkgs;
|
||||
|
||||
"/projet-intelligence-artificielle-multimedia/" = # #
|
||||
import ./projet-intelligence-artificielle-multimedia.nix pkgs;
|
||||
import ./projet-intelligence-artificielle-multimedia.nix {
|
||||
inherit inputs system;
|
||||
};
|
||||
|
||||
"/projet-probleme-inverse-3D/" = # #
|
||||
import ./projet-probleme-inverse-3D.nix pkgs;
|
||||
|
|
|
@ -1,12 +1,5 @@
|
|||
{ pkgs, ... }:
|
||||
let
|
||||
pages = pkgs.fetchgit {
|
||||
url =
|
||||
"https://git.fainsin.bzh/ENSEEIHT/projet-intelligence-artificielle-multimedia";
|
||||
rev = "8d7708db070170f6f3b276c5ea6f2f1b38e57ee5"; # pages
|
||||
sha256 = "07cmnxmhb4l2chb8h9y45jnm10fqlmlq9d7zwllgk6l3gc0m3rdp";
|
||||
};
|
||||
in {
|
||||
alias = "${pages}/";
|
||||
index = "slides.html";
|
||||
{ inputs, system, ... }: {
|
||||
alias =
|
||||
inputs.projet-intelligence-artificielle-multimedia.packages.${system}.slides
|
||||
+ "/";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue