refactor(ops/kms_pass): Pin encrypted secrets into Nix store

This commit is contained in:
Vincent Ambo 2019-12-23 13:26:09 +01:00
parent d11cda367f
commit a260eba3cf
2 changed files with 1 additions and 1 deletions

1
.envrc
View file

@ -4,4 +4,3 @@
export PATH="${PWD}/bin:${PATH}"
export NIX_PATH="nixpkgs=${PWD}/default.nix"
export REPO_ROOT="${PWD}"
export SECRETS_DIR="${PWD}/ops/secrets"

View file

@ -14,6 +14,7 @@ in (writeShellScriptBin "pass" ''
CMD="$1"
readonly SECRET=$2
readonly SECRETS_DIR=${./secrets}
readonly SECRET_PATH="$SECRETS_DIR/$SECRET"
function secret_check {