]> git.immae.eu Git - perso/Immae/Config/Nix.git/blame - .envrc
Add snapshot date check for monitoring
[perso/Immae/Config/Nix.git] / .envrc
CommitLineData
da28a4e2
IB
1# vim: filetype=bash
2export PASSWORD_STORE_DIR=$(expand_path nixops/secrets)
da28a4e2 3export NIX_PATH=nixpkgs=$(cat $(expand_path nix/sources.json) | jq -r '."nixpkgs-nixops".url')
0c506c05 4NIX_PATH=$NIX_PATH:nixpkgs-nix=$(cat $(expand_path nix/sources.json) | jq -r '."nixpkgs-nix".url')
da28a4e2
IB
5
6export NIXOPS_ENV_LOADED=1
7
8PATH_add $(expand_path scripts)
9PATH_add $(expand_path nixops/scripts)
10
11use nix
12watch_file $(expand_path nix/sources.json)
05a3b252
IB
13
14clean_nix_shell