diff --git a/default.nix b/default.nix index 35350af..b9bce58 100644 --- a/default.nix +++ b/default.nix @@ -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. diff --git a/zsh.nix b/zsh.nix index 8af8d9f..63fb939 100644 --- a/zsh.nix +++ b/zsh.nix @@ -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)" ''; };