nixos-config/configs/home-manager/foo-dogsquared/files/homepage/package.nix

23 lines
578 B
Nix
Raw Normal View History

{
buildHugoSite,
lib,
}:
buildHugoSite {
pname = "foodogsquared-hm-startpage";
version = "0.2.0";
src = lib.cleanSource ./.;
vendorHash = "sha256-Mi61QK1yKWIneZ+i79fpJqP9ew5r5vnv7ptr9YGq0Uk=";
preBuild = ''
install -Dm0644 ${../tinted-theming/base16/bark-on-a-tree.yaml} ./data/foodogsquared-homepage/themes/_dark.yaml
install -Dm0644 ${../tinted-theming/base16/albino-bark-on-a-tree.yaml} ./data/foodogsquared-homepage/themes/_light.yaml
'';
meta = with lib; {
description = "foodogsquared's homepage";
license = licenses.gpl3Only;
};
}