From 97f54ca00742952652e688ba7d309bd4d4487857 Mon Sep 17 00:00:00 2001 From: Emmet Date: Mon, 29 May 2023 18:05:06 -0500 Subject: [PATCH] Fixes bug where run system sync also syncs home-manager --- user/bin/phoenix.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/user/bin/phoenix.nix b/user/bin/phoenix.nix index e6fcbce..158cb01 100644 --- a/user/bin/phoenix.nix +++ b/user/bin/phoenix.nix @@ -9,8 +9,7 @@ let pushd ''+myDotfilesDir+''; sudo nixos-rebuild switch --flake .#; popd; - fi - if [ "2" != "system" ]; then + elif [ "2" != "system" ]; then pushd ''+myDotfilesDir+''; home-manager switch --flake .#''+myName+''; popd;