mirror of
https://github.com/srid/nixos-config.git
synced 2026-07-16 22:01:33 +08:00
stop fucking with /nix, retard
This commit is contained in:
parent
776c4425b0
commit
6bb433025b
1 changed files with 9 additions and 0 deletions
|
|
@ -19,6 +19,15 @@
|
||||||
# CLAUDE_CODE_DISABLE_ADAPTIVE_THINKING = "1";
|
# CLAUDE_CODE_DISABLE_ADAPTIVE_THINKING = "1";
|
||||||
CLAUDE_CODE_DISABLE_AUTO_MEMORY = "1";
|
CLAUDE_CODE_DISABLE_AUTO_MEMORY = "1";
|
||||||
};
|
};
|
||||||
|
# Stop Claude from crawling /nix (the store is huge and ripgrep/find
|
||||||
|
# over it wedges sessions).
|
||||||
|
permissions.deny = [
|
||||||
|
"Bash(bfs /nix*)"
|
||||||
|
"Bash(grep * /nix*)"
|
||||||
|
"Bash(rg * /nix*)"
|
||||||
|
"Bash(find /nix*)"
|
||||||
|
"Bash(fd * /nix*)"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue