v3.22.1

Related Party Transactions (Details) - Schedule of notes payable (Parentheticals) - USD ($) | 9 Months Ended
--- | ---
Mar. 31, 2022 | Jun. 30, 2021
Long-term Note Payable to Related Party - 1 [Member] |  |
Related Party Transaction [Line Items] |  |
Notes payable | $ 200,000 | $ 200,000
Interest payable | $ 10,000 | $ 10,000
Debt maturity | Nov. 13, 2021 | Nov. 13, 2021
Interest rate | 6.00% | 6.00%
Conversion of shares | 400,000 | 400,000
Long-term Note Payable to Related Party - 1 [Member] | Series D Preferred Stock [Member] |  |
Related Party Transaction [Line Items] |  |
Increase of notes payable | $ 400,000 | $ 400,000
Long-term Note Payable to Related Party - 2 [Member] |  |
Related Party Transaction [Line Items] |  |
Debt maturity | Nov. 30, 2021 | Nov. 30, 2021
Interest rate | 3.00% | 3.00%
Long-term Note Payable to Related Party - 3 [Member] |  |
Related Party Transaction [Line Items] |  |
Notes payable | $ 1,225,000 | $ 1,225,000
Debt maturity | Nov. 07, 2021 | Nov. 07, 2021
Interest rate | 6.00% | 6.00%
Long-term Note Payable to Related Party - 3 [Member] | Series D Preferred Stock [Member] |  |
Related Party Transaction [Line Items] |  |
Conversion of shares | 1,225,000 | 1,225,000
Long-term Note Payable to Related Party - 4 [Member] |  |
Related Party Transaction [Line Items] |  |
Debt maturity | Nov. 13, 2021 | Nov. 13, 2021
Interest rate | 6.00% | 6.00%
Long-term Note Payable to Related Party - 4 [Member] | Series D Preferred Stock [Member] |  |
Related Party Transaction [Line Items] |  |
Conversion of shares | 200,000 | 200,000
Long-term Note Payable to Related Party - 5 [Member] |  |
Related Party Transaction [Line Items] |  |
Debt maturity | Apr. 30, 2022 | Apr. 30, 2022
Interest rate | 15.00% | 15.00%
Long-term Note Payable to Related Party - 5 [Member] | December 23, 2021 [Member] |  |
Related Party Transaction [Line Items] |  |
Debt maturity | Mar. 30, 2025 | Mar. 30, 2025
Interest rate | 10.00% | 10.00%
Monthly lease payment | $ 8,823 | $ 8,823

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 The number of shares converted in a noncash (or part noncash) transaction. Noncash is defined as transactions during a period that do not result in cash receipts or cash payments in the period. "Part noncash" refers to that portion of the transaction not resulting in cash receipts or cash payments in the period. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 4 -URI https://asc.fasb.org/extlink&oid=126999549&loc=d3e4313-108586 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 3 -URI https://asc.fasb.org/extlink&oid=126999549&loc=d3e4304-108586 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 5 -URI https://asc.fasb.org/extlink&oid=126999549&loc=d3e4332-108586 + Details
Name: | us-gaap_ConversionOfStockSharesConverted1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
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 -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 1B -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(a)(1)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + 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/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(a)(2)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 1B -Subparagraph (d) -URI https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (bbb)(2) -URI https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258 + Details
Name: | us-gaap_DebtInstrumentMaturityDate
Namespace Prefix: | us-gaap_
Data Type: | xbrli:dateItemType
Balance Type: | na
Period Type: | duration

X
- Definition The increase (decrease) during the reporting period in current portion (due within one year or one business cycle) of obligations evidenced by formal promissory notes. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585 + Details
Name: | us-gaap_IncreaseDecreaseInNotesPayableCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Carrying value as of the balance sheet date of [accrued] interest payable on all forms of debt, including trade payables, that has been incurred and is unpaid. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.20) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_InterestPayableCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Sum of the carrying values as of the balance sheet date of the portions of long-term notes payable due within one year or the operating cycle if longer. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.19,20) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_NotesPayableCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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 No definition available. + 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: | us-gaap_StatementClassOfStockAxis=us-gaap_SeriesDPreferredStockMember
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_DebtInstrumentAxis=gaxy_LongTermNotePayableToRelatedParty3Member
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: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=gaxy_LongTermNotePayableToRelatedParty5Member
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: |