v3.23.2

Related Party Transactions (Details) - Schedule of notes payable (Parentheticals) - USD ($) | 9 Months Ended | 12 Months Ended
--- | --- | ---
Mar. 31, 2023 | Jun. 30, 2022 | Jun. 30, 2022 | Jun. 30, 2021
Long-term Note Payable to Related Party - 1 [Member] |  |  |  |
Related Party Transaction [Line Items] |  |  |  |
Interest rate | 3.00% | 6.00% | 6.00% | 6.00%
Debt maturity | Nov. 30, 2021 |  | Nov. 13, 2021 | Nov. 13, 2021
Long-term Note Payable to Related Party - 1 [Member] | Previously Reported [Member] |  |  |  |
Related Party Transaction [Line Items] |  |  |  |
Interest rate |  | 3.00% | 3.00% |
Debt maturity |  | Nov. 30, 2021 |  |
Long-term Note Payable to Related Party - 2 [Member] |  |  |  |
Related Party Transaction [Line Items] |  |  |  |
Interest rate | 15.00% | 3.00% | 3.00% | 3.00%
Debt maturity | Apr. 30, 2022 |  | Nov. 30, 2021 | Nov. 30, 2021
Long-term Note Payable to Related Party - 2 [Member] | Previously Reported [Member] |  |  |  |
Related Party Transaction [Line Items] |  |  |  |
Interest rate |  | 15.00% | 15.00% |
Debt maturity |  | Apr. 30, 2022 |  |
Long-term Note Payable to Related Party - 2 [Member] | December 23, 2021 [Member] |  |  |  |
Related Party Transaction [Line Items] |  |  |  |
Interest rate | 10.00% |  |  |
Debt maturity | Mar. 30, 2025 |  |  |
Monthly lease payment (in Dollars) | $ 8,823 |  |  |
Long-term Note Payable to Related Party - 2 [Member] | December 23, 2021 [Member] | Previously Reported [Member] |  |  |  |
Related Party Transaction [Line Items] |  |  |  |
Interest rate |  | 10.00% | 10.00% |
Debt maturity |  | Mar. 30, 2025 |  |
Monthly lease payment (in Dollars) |  | $ 8,823 |  |
Long-term Note Payable to Related Party - 5 [Member] |  |  |  |
Related Party Transaction [Line Items] |  |  |  |
Interest rate | 20.00% |  |  |
Long-term Note Payable to Related Party - 5 [Member] | Previously Reported [Member] |  |  |  |
Related Party Transaction [Line Items] |  |  |  |
Interest rate |  | 20.00% | 20.00% |
Long-term Note Payable to Related Party - 5 [Member] | December 23, 2021 [Member] |  |  |  |
Related Party Transaction [Line Items] |  |  |  |
Interest rate | 12.00% |  |  |
Long-term Note Payable to Related Party - 5 [Member] | December 23, 2021 [Member] | Previously Reported [Member] |  |  |  |
Related Party Transaction [Line Items] |  |  |  |
Interest rate |  | 12.00% | 12.00% |
Long-term Note Payable to Related Party - 4 [Member] |  |  |  |
Related Party Transaction [Line Items] |  |  |  |
Interest rate | 6.00% | 6.00% | 6.00% | 6.00%
Debt maturity | Dec. 31, 2024 |  | Nov. 13, 2021 | Nov. 13, 2021
Long-term Note Payable to Related Party - 4 [Member] | Previously Reported [Member] |  |  |  |
Related Party Transaction [Line Items] |  |  |  |
Interest rate |  | 6.00% | 6.00% |
Debt maturity |  | Dec. 31, 2024 |  |

X
- Definition Monthly lease payment. + References No definition available. + Details
Name: | gaxy_MonthlyLeasePayment
Namespace Prefix: | gaxy_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Contractual interest rate for funds borrowed, under the debt agreement. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1B Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(a)(1)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_DebtInstrumentInterestRateStatedPercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Date when the debt instrument is scheduled to be fully repaid, in YYYY-MM-DD format. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1B Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (bbb)(2) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482106/820-10-50-2 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(a)(2)) -SubTopic 10 -Topic 210 -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_DebtInstrumentMaturityDate
Namespace Prefix: | us-gaap_
Data Type: | xbrli:dateItemType
Balance Type: | na
Period Type: | duration

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-07(2)(c)(2)(i)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147483575/946-220-S99-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-07(2)(c)(2)(ii)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147483575/946-220-S99-1 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-07(2)(g)(3)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147483575/946-220-S99-1 + Details
Name: | us-gaap_RelatedPartyTransactionLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_DebtInstrumentAxis=gaxy_LongTermNotePayableToRelatedParty1Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RestatementAxis=srt_ScenarioPreviouslyReportedMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=gaxy_LongTermNotePayableToRelatedParty2Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AwardDateAxis=gaxy_December232021Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=gaxy_LongtermNotePayableToRelatedParty5Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=gaxy_LongTermNotePayableToRelatedParty4Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |