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