diff --git a/.envrc b/.envrc index c851120..fa0abf0 100644 --- a/.envrc +++ b/.envrc @@ -1,4 +1,4 @@ # Ensure ansible is available in path -use nix -p ansible +eval "$(lorri direnv)" export ANSIBLE_INVENTORY="$(expand_path inventory)" diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..487c17b --- /dev/null +++ b/shell.nix @@ -0,0 +1,10 @@ +{ pkgs ? import {} }: + +pkgs.mkShell { + buildInputs = [ + pkgs.ansible + + # keep this line if you use bash + pkgs.bashInteractive + ]; +}