v3.23.2

Lease Agreements (Details) - Schedule of operating lease right-of-use assets and operating lease liabilities - USD ($) | 12 Months Ended |
--- | --- | ---
Jun. 30, 2022 | Jun. 30, 2021 | Mar. 31, 2023
Right of use assets: |  |  |
Operating right of use assets | $ 179,512 | $ 208,051 | $ 129,758
Operating lease liabilities |  |  |
Current portion of leases payable | 80,096 | 152,824 |
Leases payable, less current portion | 99,416 | 55,227 |
Total operating lease liabilities | $ 179,512 | $ 208,051 |

X
- Definition The amount of current portion of leases payable. + References No definition available. + Details
Name: | gaxy_CurrentPortionOfLeasesPayable
Namespace Prefix: | gaxy_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount of leases payable less current portion. + References No definition available. + Details
Name: | gaxy_LeasesPayableLessCurrentPortion
Namespace Prefix: | gaxy_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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

X
- Definition The amount of total operating lease liabilities. + References No definition available. + Details
Name: | gaxy_TotalOperatingLeaseLiabilities
Namespace Prefix: | gaxy_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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

X
- Definition Amount of lessee's right to use underlying asset under operating lease. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 842 -SubTopic 20 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479041/842-20-45-1 + Details
Name: | us-gaap_OperatingLeaseRightOfUseAsset
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant