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 = {
enable = true;
shellAliases = {
rebuild = "sudo nixos-rebuild switch";
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 = ''
fish_vi_key_bindings
set -g fish_greeting