aboutsummaryrefslogblamecommitdiff
path: root/.envrc
blob: 438d807e29908d3c4855a7978433a504c952f38e (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
                    
                                                                                              
                                                                                                  







                                          

               
# vim: filetype=bash
export NIX_PATH=nixpkgs=$(cat $(expand_path nix/sources.json) | jq -r '."nixpkgs-nixops".url')
NIX_PATH=$NIX_PATH:nixpkgs-nix=$(cat $(expand_path nix/sources.json) | jq -r '."nixpkgs-nix".url')

export NIXOPS_ENV_LOADED=1

PATH_add $(expand_path scripts)
PATH_add $(expand_path nixops/scripts)

use nix
watch_file $(expand_path nix/sources.json)

clean_nix_shell