fix: switch from home-manager to nixos-rebuild for environment updates and align flake outputs
This commit is contained in:
@@ -21,8 +21,8 @@ if command -v nomarchy-preflight-migration >/dev/null 2>&1; then
|
||||
nomarchy-preflight-migration
|
||||
fi
|
||||
|
||||
# Apply Home Manager changes from the local flake
|
||||
echo "Applying user-level changes from $REPO_DIR..."
|
||||
home-manager switch --flake "$REPO_DIR#default" --impure
|
||||
# Apply changes via nixos-rebuild (since home-manager is integrated as a NixOS module)
|
||||
echo "Applying user-level changes from $REPO_DIR using nixos-rebuild..."
|
||||
sudo nixos-rebuild switch --flake "$REPO_DIR#default" --impure
|
||||
|
||||
echo "Environment update complete."
|
||||
|
||||
Reference in New Issue
Block a user