[zsh] improved update alias
This commit is contained in:
parent
accaaad955
commit
4c4a315440
@ -44,9 +44,10 @@
|
|||||||
|
|
||||||
# nixos-rebuild
|
# nixos-rebuild
|
||||||
system-rebuild = "sudo nixos-rebuild switch --flake ~/.dotfiles#`hostname -s`";
|
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-clean = "sudo nix-store --gc";
|
||||||
system-purge = "sudo nix-collect-garbage -d";
|
system-purge = "sudo nix-collect-garbage -d";
|
||||||
|
system-full-clean = "sudo nix-store --gc && sudo nix-collect-garbage -d";
|
||||||
|
|
||||||
# sshfs
|
# sshfs
|
||||||
sj-mount-media = "sshfs nas.siempie.local:/tank/media /home/simon/remotedir/media";
|
sj-mount-media = "sshfs nas.siempie.local:/tank/media /home/simon/remotedir/media";
|
||||||
|
Reference in New Issue
Block a user