[zsh] improved update alias

This commit is contained in:
Simon Cornet 2024-04-01 01:07:34 +02:00
parent accaaad955
commit 4c4a315440

View File

@ -44,9 +44,10 @@
# nixos-rebuild
system-rebuild = "sudo nixos-rebuild switch --flake ~/.dotfiles#`hostname -s`";
system-update = "sudo nixos-rebuild switch --upgrade --flake ~/.dotfiles#`hostname -s` && sudo fwupdmgr upgrade";
system-update = "sudo nix flake update nixpkgs -I ~/.dotfiles && sudo nixos-rebuild switch --upgrade --flake ~/.dotfiles#`hostname -s` && sudo fwupdmgr upgrade";
system-clean = "sudo nix-store --gc";
system-purge = "sudo nix-collect-garbage -d";
system-full-clean = "sudo nix-store --gc && sudo nix-collect-garbage -d";
# sshfs
sj-mount-media = "sshfs nas.siempie.local:/tank/media /home/simon/remotedir/media";