chore: remove unused functions/aliae

This commit is contained in:
Youwen Wu 2024-08-24 03:46:51 -07:00
parent d60a08ceb0
commit 3ebf22d7ce
Signed by: youwen5
GPG key ID: 865658ED1FE61EC3

View file

@ -76,19 +76,8 @@
programs.fish = { programs.fish = {
enable = true; enable = true;
shellAliases = { shellAliases = {
rebuild = "sudo nixos-rebuild switch";
ls = "eza -l --icons=auto"; ls = "eza -l --icons=auto";
}; };
functions = {
update-nixos = {
description = "Update the system flake and attempt to build and switch to the new configuration.";
body = ''
cd /etc/nixos
nix flake update
sudo nixos-rebuild switch
'';
};
};
interactiveShellInit = '' interactiveShellInit = ''
fish_vi_key_bindings fish_vi_key_bindings
set -g fish_greeting set -g fish_greeting