removing dead code and fixing aliases

This commit is contained in:
cnst
2024-11-20 18:02:15 +01:00
parent 5d10b8e57a
commit 25cad3cbf1
3 changed files with 30 additions and 119 deletions

View File

@@ -23,22 +23,21 @@ in {
shellAliases = {
cat = "${getExe bat} --style=plain";
ls = "${getExe eza} -h --git --icons --color=auto --group-directories-first -s extension";
ll = "${getExe eza} -l --git --icons --color=auto --group-directories-first -s extension";
la = "${getExe eza} -lah --tree";
tree = "${getExe eza} --tree --icons=always";
extract = "extract.sh";
usermodules = "$EDITOR /home/$USER/.nix-config/users/$USER/modules.nix";
umod = "$EDITOR /home/$USER/.nix-config/users/$USER/modules.nix";
systemmodules = "$EDITOR /home/$USER/.nix-config/hosts/$HOST/modules.nix";
smod = "$EDITOR /home/$USER/.nix-config/hosts/$HOST/modules.nix";
homemodules = "$EDITOR /home/$USER/.nix-config/users/$USER/modules.nix";
hmod = "$EDITOR /home/$USER/.nix-config/users/$USER/modules.nix";
nixosmodules = "$EDITOR /home/$USER/.nix-config/hosts/$HOST/modules.nix";
nmod = "$EDITOR /home/$USER/.nix-config/hosts/$HOST/modules.nix";
nixcleanboot = "sudo nix run /home/$USER/.nix-config#cleanup-boot";
nixclean = "nh clean all --keep 3";
nixdev = "nix develop ~/.nix-config -c $SHELL";
nixconfig = "cd /home/$USER/.nix-config/";
ll = "ls -l";
nixupdate = "nh os switch -v -H $HOST";
nixup = "nh os switch -H $HOST";
flakeupdate = "nh os switch -u -v -H $HOST";
flakeup = "nh os switch -u -H $HOST";
nixupv = "nh os switch -v -H $HOST";
flakeup = "nix flake update";
".." = "cd ..";
"..." = "cd ../../";
"...." = "cd ../../../";