Skip to content

Commit d363d90

Browse files
stackptrclaude
andauthored
feat(home): whitelist known dev directories for direnv (#338)
Auto-allow .envrc files under ~/Development/{heave,rc} and ~/Development/conductor/workspaces/{heave,rc} so direnv doesn't require manual `direnv allow` each time. Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 3d39fc8 commit d363d90

1 file changed

Lines changed: 13 additions & 1 deletion

File tree

‎home/programs/default.nix‎

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
{pkgs, ...}: {
1+
{
2+
pkgs,
3+
config,
4+
...
5+
}: {
26
imports = [
37
./aichat.nix
48
./starship.nix
@@ -14,6 +18,14 @@
1418
strict_env = true;
1519
hide_env_diff = true;
1620
};
21+
whitelist = {
22+
prefix = [
23+
"${config.home.homeDirectory}/Development/heave"
24+
"${config.home.homeDirectory}/Development/rc"
25+
"${config.home.homeDirectory}/Development/conductor/workspaces/heave"
26+
"${config.home.homeDirectory}/Development/conductor/workspaces/rc"
27+
];
28+
};
1729
};
1830
};
1931
}

0 commit comments

Comments
 (0)