Based on the Eleventy Base Blog
To build locally, install Nix and then run:
-
nix-buildto run default.nix and output the site to your Nix store -
nix-shellto run shell.nix and get a shell where you can runserveto host the site on localhost, oryarncommands to mix up the packages. Remember to copy the contents of the modifiedpackage.jsontonode-deps.nixafter you runyarncommands!