Once setup, all you need to do is:
$ nix develop —-command hugo regenerate $ # version is pinned by flake.lock
My devshell can be found here and is dead simple: https://github.com/stusmall/stuartsmall.com/blob/main/defaul...
I used Zola for my SSG and can't think of the last breaking change I've hit. I just use the pattern of locked nix devshells for everything by default. The extra tools are used for processing images or cooklang files.
Once setup, all you need to do is:
The beauty of this approach is that it extends to almost any CLI tool you can think of :)