Initial commit

This commit is contained in:
Tim Schubert 2020-07-26 19:39:13 +02:00
commit 720fa4a18b
Signed by: dadada
GPG key ID: EEB8D1CE62C4DFEA
17 changed files with 882 additions and 0 deletions

19
default.nix Normal file
View file

@ -0,0 +1,19 @@
with import <nixpkgs> {};
stdenv.mkDerivation {
name = "dadada.li";
builtInputs = [ pkgs.hugo ];
src = ./.;
buildPhase = "${pkgs.hugo}/bin/hugo";
installPhase = ''
mkdir -p $out
cp -r public/* $out
'';
dontFixup = true;
dontStrip = true;
meta = with lib; {
description = "dadada.li web-site";
license = licenses.cc-by-sa-40;
};
}