v3.22.2.2

Summary of Significant Accounting Policies (Details) - Schedule of useful lives of property and equipment | 12 Months Ended
--- | ---
Jun. 30, 2022
Furniture and Fixtures [Member] |
Summary of Significant Accounting Policies (Details) - Schedule of useful lives of property and equipment [Line Items] |
Property, Plant and Equipment, Useful Life | 5 years
Equipment [Member] | Minimum [Member] |
Summary of Significant Accounting Policies (Details) - Schedule of useful lives of property and equipment [Line Items] |
Property, Plant and Equipment, Useful Life | 5 years
Equipment [Member] | Maximum [Member] |
Summary of Significant Accounting Policies (Details) - Schedule of useful lives of property and equipment [Line Items] |
Property, Plant and Equipment, Useful Life | 8 years
Vehicles [Member] |
Summary of Significant Accounting Policies (Details) - Schedule of useful lives of property and equipment [Line Items] |
Property, Plant and Equipment, Useful Life | 5 years
Building [Member] |
Summary of Significant Accounting Policies (Details) - Schedule of useful lives of property and equipment [Line Items] |
Property, Plant and Equipment, Useful Life | 40 years
Building Improvements [Member] |
Summary of Significant Accounting Policies (Details) - Schedule of useful lives of property and equipment [Line Items] |
Property, Plant and Equipment, Useful Life | 8 years

X
- References No definition available. + Details
Name: | gaxy_SummaryofSignificantAccountingPoliciesDetailsScheduleofusefullivesofpropertyandequipmentLineItems
Namespace Prefix: | gaxy_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Useful life of long lived, physical assets used in the normal conduct of business and not intended for resale, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. Examples include, but not limited to, land, buildings, machinery and equipment, office equipment, furniture and fixtures, and computer equipment. + References No definition available. + Details
Name: | us-gaap_PropertyPlantAndEquipmentUsefulLife
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=us-gaap_FurnitureAndFixturesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=us-gaap_EquipmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=us-gaap_VehiclesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=us-gaap_BuildingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=us-gaap_BuildingImprovementsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |