[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

@ -43,10 +43,11 @@
k9s = "ssh k9s.siempie.internal -t /home/simon/.local/bin/k9s";
# 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-clean = "sudo nix-store --gc";
system-purge = "sudo nix-collect-garbage -d";
system-rebuild = "sudo nixos-rebuild switch --flake ~/.dotfiles#`hostname -s`";
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";