chore(nix): Set npins dir with direnv

This commit is contained in:
2025-11-29 13:06:21 +01:00
parent 24b586a4a0
commit 042cace4f0
2 changed files with 11 additions and 2 deletions

11
.envrc
View File

@@ -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

View File

@@ -8,6 +8,4 @@ pkgs.mkShellNoCC {
colmena
nixfmt-rfc-style
];
NPINS_DIRECTORY = "nix";
}