nixos-config/configs/home-manager/foo-dogsquared/files/homepage/package.nix
Gabriel Arazas 2221ca1642
users/foo-dogsquared/homepage: update theme SCSS and package definition
Also, Hugo doesn't resolve symlinks unfortunately(?) so we have to go
with making it a real file for now. Either way, this is only for
development purposes and the real version is generated within the HM
config.
2024-09-04 14:57:32 +08:00

23 lines
578 B
Nix

{
buildHugoSite,
lib,
}:
buildHugoSite {
pname = "foodogsquared-hm-startpage";
version = "0.1.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;
};
}