Initial commit

This commit is contained in:
2025-08-20 18:24:02 +03:00
commit 2dec42d487
116 changed files with 6591 additions and 0 deletions

45
modules/global/bash.nix Normal file
View File

@@ -0,0 +1,45 @@
{ 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
];
}