My personal webpage made with nix and hakyll.
A development environment is provided through nix-shell
.
Things made available in the development environment:
- ghc
- cabal
- hakyll
- netlify-cli
- a script to resize images
- some aliases to interact with hakyll
prepareImages
process images found at content/raw-images
. save different sizes (for
src-set
) to content/images
watch
Recompile when sources change and run development server
build
Build the site
rebuild
Remove _cache
and _site
and build site
deploy
Deploy site to netlify
The following netlify-specific variables need to be exported before invoking nix-shell