This repository has been archived on 2021-04-06. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles/home/.direnvrc
Simon Bruder f33bafecc8
Make nix-direnv actually work
I somehow forgot to add the `.direnvrc` to homeshick. Now `nix-shell`s
created with direnv are added as gc roots.
2020-09-01 10:11:26 +02:00

4 lines
126 B
Plaintext

if [ -f /run/current-system/sw/share/nix-direnv/direnvrc ]; then
source /run/current-system/sw/share/nix-direnv/direnvrc
fi