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