46 lines
753 B
Nix
46 lines
753 B
Nix
{ config, pkgs, ... }: {
|
|
globals.hm.programs.carapace = {
|
|
enable = true;
|
|
enableBashIntegration = true;
|
|
};
|
|
|
|
globals.hm.programs.bash = {
|
|
enable = true;
|
|
shellAliases = config.n.misc.aliases;
|
|
enableCompletion = true;
|
|
|
|
initExtra = ''
|
|
#colorscript -e square
|
|
_fix_cursor() {
|
|
echo -ne '\e[5 q'
|
|
}
|
|
precmd_functions+=(_fix_cursor)
|
|
export TERM="xterm-256color"
|
|
PS1="\e[1;32m\u@\h\e[m \e[1;34m[\t]\e[m [\w]\n\e[0;34m-> %\e[m \e[0;32m"
|
|
'';
|
|
};
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
wget
|
|
curl
|
|
tree
|
|
htop
|
|
killall
|
|
jq
|
|
p7zip
|
|
tldr
|
|
unzip
|
|
mtr
|
|
iperf3
|
|
lsd
|
|
bat
|
|
ncdu
|
|
ripgrep
|
|
dig
|
|
pwgen
|
|
inxi
|
|
alejandra
|
|
tokei
|
|
];
|
|
}
|