Create //playbooks

I'm particularly excited about this idea. As I was reading Graham's "Erase your
darlings" blog post, I had an idea: I should have playbooks at the root of my
monorepo.

I can have playbooks for the following:
- How to install NixOS
- How to build GCR images from Nix expressions
- A collection of miscellaneous shell commands (e.g. "how to kill a process by name")
- What series of steps should I follow when I receive a paycheck

I already keep README's at the root of each package, which I think is where many
of these instructions belong. Other tutorials that I write for myself that do
not belong to any package can go in //playbooks. I also will host my personal
habits in //playbooks since habits are a bit like playbooks for life. Let's see
how this idea ages as the caffeine wears off...
This commit is contained in:
William Carroll 2020-07-20 10:26:12 +01:00
parent 5add8ddc13
commit c6106f7884
8 changed files with 4 additions and 1 deletions

3
playbooks/README.md Normal file
View file

@ -0,0 +1,3 @@
# playbooks
Here's the vision: playbooks for everything - not just software.

View file

@ -2,7 +2,7 @@
pkgs.stdenv.mkDerivation { pkgs.stdenv.mkDerivation {
name = "habits-webpage"; name = "habits-webpage";
src = builtins.path { path ../../org; name = "org"; }; src = builtins.path { path = ../../playbooks; name = "playbooks"; };
buildInputs = []; buildInputs = [];
buildPhase = '' buildPhase = ''
${pkgs.pandoc}/bin/pandoc $src/habits.org -o index.html ${pkgs.pandoc}/bin/pandoc $src/habits.org -o index.html