add direnv and some comments

This commit is contained in:
2025-06-19 22:48:47 +02:00
parent 39ff370014
commit 33211f4378

View File

@ -77,15 +77,19 @@ in {
];
programs = {
# CLI tools
command-not-found = {
enable = true;
dbPath = "/run/current-system/sw/bin/sqlite3";
};
# CLI
# Zoxide for quick directory navigation
zoxide = {
enable = true;
flags = ["--cmd cd"];
};
# Friendly shell
fish = {
enable = true;
interactiveShellInit = ''
@ -104,6 +108,8 @@ in {
"rm" = "rm -v";
};
};
# Starship shell prompt
starship = {
enable = true;
presets = ["nerd-font-symbols" "gruvbox-rainbow"];
@ -111,6 +117,13 @@ in {
add_newline = false;
};
};
# Direnv for automatic environment loading
direnv = {
enable = true;
enableFishIntegration = true;
};
# Vim editor
vim = {
enable = true;
defaultEditor = true;