aboutsummaryrefslogtreecommitdiff
path: root/.envrc
blob: b4859fdbf3bb129203bbec006bc039fe311b1346 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# vim: filetype=bash
export PASSWORD_STORE_DIR=$(expand_path nixops/secrets)
export NIX_PATH=nixpkgs=$(cat $(expand_path nix/sources.json) | jq -r '."nixpkgs-nixops".url')
NIX_PATH=$NIX_PATH:nixpkgs-nix=$(cat $(expand_path nix/sources.json) | jq -r '."nixpkgs-nix".url')

export NIXOPS_ENV_LOADED=1

PATH_add $(expand_path scripts)
PATH_add $(expand_path nixops/scripts)

use nix
watch_file $(expand_path nix/sources.json)

clean_nix_shell