diff --git a/nix/home/zsh/zsh.nix b/nix/home/zsh/zsh.nix index a48f7e7..772fa9c 100644 --- a/nix/home/zsh/zsh.nix +++ b/nix/home/zsh/zsh.nix @@ -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";