add mapfm poster back
This commit is contained in:
parent
47a4f3f9a7
commit
d3662d77d0
8 changed files with 341 additions and 191 deletions
14
fili/services/websites/compiler-construction-2021.nix
Normal file
14
fili/services/websites/compiler-construction-2021.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{ pkgs, flakes, ... }:
|
||||
{
|
||||
services.nginx = {
|
||||
virtualHosts."compiler-construction-2021.donsz.nl" = {
|
||||
forceSSL = true;
|
||||
http2 = true;
|
||||
enableACME = true;
|
||||
|
||||
locations."/" = {
|
||||
root = flakes.compiler-construction-2021.packages.${pkgs.system}.website;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -5,5 +5,7 @@ _: {
|
|||
./totpal.nix
|
||||
./harmonica-tabs.nix
|
||||
./mapf.nix
|
||||
./compiler-construction-2021.nix
|
||||
./mapfm-poster.nix
|
||||
];
|
||||
}
|
||||
|
|
|
|||
26
fili/services/websites/mapfm-poster.nix
Normal file
26
fili/services/websites/mapfm-poster.nix
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
services.nginx.virtualHosts."mapfm-poster.donsz.nl" = {
|
||||
forceSSL = true;
|
||||
http2 = true;
|
||||
enableACME = true;
|
||||
|
||||
locations."/" = {
|
||||
root = pkgs.stdenv.mkDerivation rec {
|
||||
pname = "research-project-poster";
|
||||
version = "2021-06-27";
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "jdonszelmann";
|
||||
repo = "research-project";
|
||||
rev = "f1c0c5d839197f825b555780271781281ba10ac3";
|
||||
sha256 = "sha256-YJxcLRABU3yRS/U/XNLpTIXtve0cFfnwPKr+1oY0HeY=";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out
|
||||
cp -r assets/final_poster/* $out
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue