]> git.immae.eu Git - perso/Immae/Config/Nix.git/blob - .envrc
Add environment file instead of hardcoding everything in makefiles
[perso/Immae/Config/Nix.git] / .envrc
1 # vim: filetype=bash
2 export PASSWORD_STORE_DIR=$(expand_path nixops/secrets)
3 export NIXOPS_STATE=$(expand_path nixops/state/immaeEu.nixops)
4 export NIXOPS_DEPLOYMENT=cef694f3-081d-11e9-b31f-0242ec186adf
5 export NIX_PATH=nixpkgs=$(cat $(expand_path nix/sources.json) | jq -r '."nixpkgs-nixops".url')
6
7 export NIXOPS_ENV_LOADED=1
8
9 PATH_add $(expand_path scripts)
10 PATH_add $(expand_path nixops/scripts)
11
12 use nix
13 watch_file $(expand_path nix/sources.json)