v3.22.1

Fair Value Measurements (Details) - Schedule of reconciliation of changes in fair value of convertible debt - Level 3 [Member] - USD ($) | 9 Months Ended | 12 Months Ended
--- | --- | ---
Mar. 31, 2022 | Jun. 30, 2021
Fair Value Measurements (Details) - Schedule of reconciliation of changes in fair value of convertible debt [Line Items] |  |
Balance at beginning | $ 1,842,000 | $ 246,612
Convertible securities at inception |  | 4,000
Realized | (1,842,000) | (80,924)
Unrealized |  | 1,672,312
Balance at ending |  | $ 1,842,000

X
- Definition Convertible securities at inception. + References No definition available. + Details
Name: | gaxy_ConvertibleSecuritiesAtInception
Namespace Prefix: | gaxy_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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

X
- Definition Realized gain (loss) on convertible securities during the period. + References No definition available. + Details
Name: | gaxy_RealizedGainLossOnConvertibleDebt
Namespace Prefix: | gaxy_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Unrealized gain (loss) on convertible securities during the period. + References No definition available. + Details
Name: | gaxy_UnrealizedGainLossOnConvertibleDebt
Namespace Prefix: | gaxy_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Fair value, after the effects of master netting arrangements, of a financial liability or contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset, expected to be settled within one year or normal operating cycle, if longer. Includes assets not subject to a master netting arrangement and not elected to be offset. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 50 -Paragraph 3 -Subparagraph (c) -URI https://asc.fasb.org/extlink&oid=51824906&loc=SL20225862-175312 + Details
Name: | us-gaap_DerivativeLiabilitiesCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel3Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |