programs: zsh: fix "switch" function to be friendly to sandboxing
This commit is contained in:
@@ -171,7 +171,7 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
function switch() {
|
function switch() {
|
||||||
sudo nixos-rebuild --flake . switch --keep-going;
|
nix run '.#deploy.self'
|
||||||
}
|
}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user