From 7d22a5466f5e828bd1023ae186f07c3b1b200a62 Mon Sep 17 00:00:00 2001 From: Colin Date: Wed, 14 Feb 2024 13:45:56 +0000 Subject: [PATCH] programs: zsh: fix "switch" function to be friendly to sandboxing --- hosts/common/programs/zsh/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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' } '';