Initialize //blog with lorri

To create new posts, I run...
```shell
hugo new name-of-post.md
```

While writing posts, I run...
```shell
hugo serve -D
```

I need hugo available on PATH environment variable, which lorri provides.
This commit is contained in:
William Carroll 2020-03-09 23:28:24 +00:00
parent 1e75f709ee
commit 1fbdec0d6a
2 changed files with 10 additions and 0 deletions

2
blog/.envrc Normal file
View file

@ -0,0 +1,2 @@
source_up
eval "$(lorri direnv)"

8
blog/shell.nix Normal file
View file

@ -0,0 +1,8 @@
let
pkgs = import <nixpkgs> {};
in
pkgs.mkShell {
buildInputs = with pkgs; [
hugo
];
}