feat(direnv): migrate .dev to envrc use_dev

This commit is contained in:
2026-03-27 15:04:21 +01:00
parent 8d35c32782
commit 7408668b7f
4 changed files with 17 additions and 1 deletions

2
direnv/direnv.toml Normal file
View File

@@ -0,0 +1,2 @@
[global]
hide_env_diff = true

7
direnv/lib/use_dev.sh Normal file
View File

@@ -0,0 +1,7 @@
# composable nix devshell from matej.nix
# usage in .envrc: use dev uv_14 pg_18
use_dev() {
for component in "$@"; do
use flake "dev#${component}"
done
}