Fixes bug where run system sync also syncs home-manager

This commit is contained in:
Emmet
2023-05-29 18:05:06 -05:00
parent ffde1ff6fe
commit 12a50f948e

View File

@@ -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;