I built this on Nix. And it was very easy.
First though, Credit where it’s due, I borrowed from This with some updates.
At the moment, the configuration for this site looks like this:
{ pkgs ? import <nixpkgs> { } }:
with pkgs;
mkShell {
buildInputs = [
hugo
];
}
Which frankly, is excellent! (Also of note, I’ve set it up so that the text above will always be the current version that’s in use!)
With this, I have in one fell swoop:
- Locked in exactly the version of Hugo in Use
- Locked in exactly the theme version to Use
- And ensured my site should always be able to build!
Hidden Goodies of Note:
There is a Search available, which should just work. Have fun!