Shell goodness

Also potential for RCE, yay?
This commit is contained in:
Geoffrey Frogeye 2025-01-21 23:01:21 +01:00
parent 6d6a991fa5
commit 6b662477c4
Signed by: geoffrey
GPG key ID: C72403E7F82E6AD8
3 changed files with 33 additions and 5 deletions

17
hm/shell/direnv.nix Normal file
View file

@ -0,0 +1,17 @@
# Allow switching to a specific environment when going into a directory
{
...
}:
{
config = {
programs = {
direnv = {
enable = true;
enableBashIntegration = true;
enableZshIntegration = true;
nix-direnv.enable = true;
};
git.ignores = [ ".envrc" ".direnv" ];
};
};
}