programs: zsh: fix "switch" function to be friendly to sandboxing

This commit is contained in:
2024-02-14 13:45:56 +00:00
parent b747742e23
commit 7d22a5466f

View File

@@ -171,7 +171,7 @@ in
};
function switch() {
sudo nixos-rebuild --flake . switch --keep-going;
nix run '.#deploy.self'
}
'';