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