add direnv

This commit is contained in:
Garionion 2022-03-29 19:48:17 +02:00
parent 2a35165e25
commit 0af4a4e1e6
2 changed files with 3 additions and 1 deletions

View File

@ -10,7 +10,7 @@
packages = with pkgs; [
wget vim screen mtr iperf
htop dstat dnsutils nettools tcpdump
git bat starship
git bat starship direnv
];
hashedPassword = "$6$NMzXsfARs2HVA4iq$55uxWCANME/HsjIg9HmZyxqGwlr7RpJfCcMad2OhbmUiHhdnOh/v9TDwT3Vt0mu9HE37Fh3b1g2yyEa3Dxxg80";
extraGroups = [ "wheel" ]; # Enable sudo for the user.

View File

@ -19,6 +19,8 @@
function command_not_found_handler() { command-not-found $1 }
export $(gnome-keyring-daemon --components=ssh,secrets,pkcs11 --start)
alias cat='bat'
eval "$(direnv hook zsh)"
eval "$(starship init zsh)"
'';
};