Fix aliases, nh, etc

This commit is contained in:
Henry Hiles 2025-05-22 21:19:25 -04:00
parent 471dfd605e
commit 660149f46b
Signed by: Henry-Hiles
SSH key fingerprint: SHA256:VKQUdS31Q90KvX7EkKMHMBpUspcmItAh86a+v7PGiIs
16 changed files with 81 additions and 60 deletions

View file

@ -7,30 +7,6 @@
'';
};
environment = {
shells = [pkgs.fish];
shellAliases = {
# Utility
ls = "eza";
cat = "bat";
rm = "gio trash";
free = "free -h";
neofetch = "neowofetch";
shutdown = "shutdown now";
# Git
clone = "gh repo clone";
create = "gh repo create";
push = "git push";
commit = "git commit -am";
# NixOS
clean = "nh clean all";
rebuild = "nh os switch";
rebuildServer = "nixos-rebuild switch --flake ~/.config/nixos#quadraticserver --target-host quadradical@192.168.0.132 --use-remote-sudo";
update = "pushd ~/.config/nixos && nix flake update && popd && rebuild";
};
};
environment.shells = [pkgs.fish];
users.defaultUserShell = pkgs.fish;
}