v3.23.2

Fair Value Measurements (Details) - Schedule of fair values determined by level 3 inputs - USD ($) | Mar. 31, 2023 | Jun. 30, 2022 | Jun. 30, 2021
--- | --- | --- | ---
Schedule of Fair Values Determined by Level 3 Inputs [Abstract] |  |  |
Convertible debt features | $ 12,189 |  |
Level 1 [Member] |  |  |
Schedule of Fair Values Determined by Level 3 Inputs [Abstract] |  |  |
Convertible debt features |  |  |
Level 2 [Member] |  |  |
Schedule of Fair Values Determined by Level 3 Inputs [Abstract] |  |  |
Convertible debt features |  |  |
Level 3 [Member] |  |  |
Schedule of Fair Values Determined by Level 3 Inputs [Abstract] |  |  |
Convertible debt features | $ 12,189 |  | $ 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_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: |