v3.22.1

Fair Value Measurements (Details) - Schedule of fair values determined by level 3 inputs - Fair Value, Recurring [Member] - USD ($) | Mar. 31, 2022 | Jun. 30, 2021
--- | --- | ---
Fair Value Measurements (Details) - Schedule of fair values determined by level 3 inputs [Line Items] |  |
Derivative liability, convertible note features |  | $ 1,842,000
Fair Value, Inputs, Level 1 [Member] |  |
Fair Value Measurements (Details) - Schedule of fair values determined by level 3 inputs [Line Items] |  |
Derivative liability, convertible note features |  |
Fair Value, Inputs, Level 2 [Member] |  |
Fair Value Measurements (Details) - Schedule of fair values determined by level 3 inputs [Line Items] |  |
Derivative liability, convertible note features |  |
Fair Value, Inputs, Level 3 [Member] |  |
Fair Value Measurements (Details) - Schedule of fair values determined by level 3 inputs [Line Items] |  |
Derivative liability, convertible note features |  | $ 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 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_FairValueByMeasurementFrequencyAxis=us-gaap_FairValueMeasurementsRecurringMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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: |