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