mirror of
https://github.com/librephoenix/nixos-config
synced 2025-01-19 07:05:51 +05:30
Fixes bug where run system sync also syncs home-manager
This commit is contained in:
parent
a3d4ae3944
commit
97f54ca007
|
@ -9,8 +9,7 @@ let
|
||||||
pushd ''+myDotfilesDir+'';
|
pushd ''+myDotfilesDir+'';
|
||||||
sudo nixos-rebuild switch --flake .#;
|
sudo nixos-rebuild switch --flake .#;
|
||||||
popd;
|
popd;
|
||||||
fi
|
elif [ "2" != "system" ]; then
|
||||||
if [ "2" != "system" ]; then
|
|
||||||
pushd ''+myDotfilesDir+'';
|
pushd ''+myDotfilesDir+'';
|
||||||
home-manager switch --flake .#''+myName+'';
|
home-manager switch --flake .#''+myName+'';
|
||||||
popd;
|
popd;
|
||||||
|
|
Loading…
Reference in a new issue