diff --git a/hosts/common/programs/zsh/default.nix b/hosts/common/programs/zsh/default.nix index def2a6d0e..8a6b3392b 100644 --- a/hosts/common/programs/zsh/default.nix +++ b/hosts/common/programs/zsh/default.nix @@ -171,7 +171,7 @@ in }; function switch() { - sudo nixos-rebuild --flake . switch --keep-going; + nix run '.#deploy.self' } '';