feat(x1): add direnv

This commit is contained in:
Harald Hoyer 2026-05-27 15:00:34 +02:00
parent 2753cd74cb
commit 982ef9248c

View file

@ -4,6 +4,11 @@
home.stateVersion = "25.11"; home.stateVersion = "25.11";
programs.direnv = {
enable = true;
nix-direnv = enabled;
};
programs.bash.initExtra = '' programs.bash.initExtra = ''
if [[ $(${pkgs.procps}/bin/ps --no-header --pid=$PPID --format=comm) != "fish" && -z ''${BASH_EXECUTION_STRING} ]] if [[ $(${pkgs.procps}/bin/ps --no-header --pid=$PPID --format=comm) != "fish" && -z ''${BASH_EXECUTION_STRING} ]]
then then