hot girl shit

This commit is contained in:
nora 2024-08-02 17:03:56 +02:00
parent ce88f65f92
commit ce8c65aeaf
15 changed files with 263 additions and 184 deletions

23
default.nix Normal file
View file

@ -0,0 +1,23 @@
{ pkgs ? import <nixpkgs> { }, ... }:
let
generator = import ./builder { inherit pkgs; };
in
pkgs.stdenv.mkDerivation {
name = "website";
src = ./.;
unpackSrc = false;
WEBSITE_RNG_SEED = "99";
nativeBuildInputs = with pkgs; [ git hugo ];
buildPhase = ''
${generator}/bin/website-builder build
'';
installPhase = ''
mkdir -p $out
cp -r dist/* $out/
'';
}