|
|
|
@ -47,6 +47,33 @@ |
|
|
|
enable = true; |
|
|
|
enable = true; |
|
|
|
lfs.enable = true; |
|
|
|
lfs.enable = true; |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
programs.bash = { |
|
|
|
|
|
|
|
enable = true; |
|
|
|
|
|
|
|
historyIgnore = [ "l" "ls" "ll" "cd" "exit" ]; |
|
|
|
|
|
|
|
historyControl = [ "erasedups" ]; |
|
|
|
|
|
|
|
shellAliases = { |
|
|
|
|
|
|
|
grep = "grep --color=auto"; |
|
|
|
|
|
|
|
".." = "cd .."; |
|
|
|
|
|
|
|
}; |
|
|
|
|
|
|
|
initExtra = '' |
|
|
|
|
|
|
|
# Custom colored bash prompt |
|
|
|
|
|
|
|
PS1='\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ ' |
|
|
|
|
|
|
|
''; |
|
|
|
|
|
|
|
profileExtra = '' |
|
|
|
|
|
|
|
# Include user's private bin if present |
|
|
|
|
|
|
|
if [ -d "$HOME/.local/bin" ] ; then |
|
|
|
|
|
|
|
PATH="$HOME/.local/bin:$PATH" |
|
|
|
|
|
|
|
fi |
|
|
|
|
|
|
|
''; |
|
|
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
programs.starship = { |
|
|
|
|
|
|
|
enable = true; |
|
|
|
|
|
|
|
enableBashIntegration = true; |
|
|
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
# This value determines the home Manager release that your |
|
|
|
# This value determines the home Manager release that your |
|
|
|
# configuration is compatible with. This helps avoid breakage |
|
|
|
# configuration is compatible with. This helps avoid breakage |
|
|
|
# when a new home Manager release introduces backwards |
|
|
|
# when a new home Manager release introduces backwards |
|
|
|
|