{
programs.bash = {
shellAliases = {
- grep = "grep --color";
+ cl = "clear";
g = "git";
+ grep = "grep --color";
+ j="sudo journalctl -u";
+ jb="sudo journalctl -b";
+ l = "ls -alh";
+ ll = "ls -al";
+ ls = "ls --color=tty";
md-toc = "grep '^#\\+' --color";
+ mem = "ps -e -orss=,user=,args= | sort -b -k1,1n";
+ mem-top = "smem --sort rss --autosize";
mpl = "mplayer";
+ nixos-clean="sudo nix-collect-garbage -d";
+ nixos-history="sudo nix-env --list-generations --profile /nix/var/nix/profiles/system";
+ nixos-rollback="sudo nixos-rebuild switch --rollback";
rsync = "rsync --no-inc-recursive --info=progress2 --inplace --partial";
+ s="sudo systemctl";
+ st="sudo systemctl status";
+ u="systemctl --user";
+ ut="systemctl --user status";
watch = "watch --color";
};
initExtra = ''