chore(nix): Set npins dir with direnv
This commit is contained in:
11
.envrc
11
.envrc
@@ -1 +1,12 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
# the shebang is ignored, but nice for editors
|
||||||
|
watch_file nix/sources.json
|
||||||
|
|
||||||
|
# Load .env file if it exists
|
||||||
|
dotenv_if_exists
|
||||||
|
|
||||||
|
# Set npins dir
|
||||||
|
export NPINS_DIRECTORY="nix"
|
||||||
|
|
||||||
|
# Activate development shell
|
||||||
use nix
|
use nix
|
||||||
|
|||||||
Reference in New Issue
Block a user