v3.22.2.2

Fair Value Measurements (Details) - Schedule of fair values determined by level 3 inputs - USD ($) | 12 Months Ended
--- | ---
Jun. 30, 2022 | Jun. 30, 2021
Fair Value Measurements (Details) - Schedule of fair values determined by level 3 inputs [Line Items] |  |
Original issue discount, convertible debt, Total |  | $ 1,842,000
Level 1 [Member] |  |
Fair Value Measurements (Details) - Schedule of fair values determined by level 3 inputs [Line Items] |  |
Original issue discount, convertible debt |  |
Level 2 [Member] |  |
Fair Value Measurements (Details) - Schedule of fair values determined by level 3 inputs [Line Items] |  |
Original issue discount, convertible debt |  |
Level 3 [Member] |  |
Fair Value Measurements (Details) - Schedule of fair values determined by level 3 inputs [Line Items] |  |
Original issue discount, convertible debt |  | $ 1,842,000

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

X
- Definition Original issue discount, convertible debt, Total. + References No definition available. + Details
Name: | gaxy_OriginalIssueDiscountConvertibleDebtTotal
Namespace Prefix: | gaxy_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Fair value portion of borrowing which can be exchanged for a specified number of another security at the option of the issuer or the holder, for example, but not limited to, the entity's common stock. + References No definition available. + Details
Name: | us-gaap_ConvertibleDebtFairValueDisclosures
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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

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

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