v3.22.2.2

Notes Payable (Details) - Schedule of long-term Notes Payable - USD ($) | Jun. 30, 2022 | Jun. 30, 2021
--- | --- | ---
Debt Instrument [Line Items] |  |
Total Notes Payable | $ 3,306,738 | $ 974,562
Less: Unamortized original issue discounts | 242,529 | 17,500
Current Portion of Notes Payable | 2,815,231 | 552,055
Long-term Portion of Notes Payable | 248,978 | 405,007
Notes Payable [Member] |  |
Debt Instrument [Line Items] |  |
Total Notes Payable | 207,058 | 237,039
Notes Payable One [Member] |  |
Debt Instrument [Line Items] |  |
Total Notes Payable |  | 348,456
Notes Payable Two [Member] |  |
Debt Instrument [Line Items] |  |
Total Notes Payable | 269,432 |
Notes Payable Three [Member] |  |
Debt Instrument [Line Items] |  |
Total Notes Payable | 158,745 |
Notes Payable Four [Member] |  |
Debt Instrument [Line Items] |  |
Total Notes Payable | 1,294,198 |
Notes Payable Five [Member] |  |
Debt Instrument [Line Items] |  |
Total Notes Payable | 540,000 |
Notes Payable Six [Member] |  |
Debt Instrument [Line Items] |  |
Total Notes Payable | 400,500 |
Notes Payable Seven [Member] |  |
Debt Instrument [Line Items] |  |
Total Notes Payable | 150,000 | 150,000
Notes Payable Eight [Member] |  |
Debt Instrument [Line Items] |  |
Total Notes Payable | 179,512 | 208,051
Notes Payable Nine [Member] |  |
Debt Instrument [Line Items] |  |
Total Notes Payable | 25,771 | 31,016
Note Payable Ten [Member] |  |
Debt Instrument [Line Items] |  |
Total Notes Payable | 51,826 |
Note Payable Eleven [Member] |  |
Debt Instrument [Line Items] |  |
Total Notes Payable | $ 29,696 |

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_DebtInstrumentLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount, after accumulated amortization, of debt discount. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 1A -URI https://asc.fasb.org/extlink&oid=124435984&loc=d3e28541-108399 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 55 -Paragraph 8 -URI https://asc.fasb.org/extlink&oid=114775985&loc=d3e28878-108400 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 1D -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611 + Details
Name: | us-gaap_DebtInstrumentUnamortizedDiscount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Including the current and noncurrent portions, aggregate carrying amount of all types of notes payable, as of the balance sheet date, with initial maturities beyond one year or beyond the normal operating cycle, if longer. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(16)) -URI https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910 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)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(16)) -URI https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878 + Details
Name: | us-gaap_NotesPayable
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Current portion of the total carrying amount as of the balance sheet date due within one year or the operating cycle, if longer, on all notes payable to banks paid on an installment with long term maturities. This can include the amount of any loans from the applicant firm. This does not, however, include any mortgage balances. + 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(a)(1),20) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_NotesPayableToBankCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The total amount due within more than 12 month, or the operating cycle if longer, on all notes payable to banks paid on an installment. This can include the amount of any loans from the applicant firm. This does not, however, include any mortgage balances. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(16)) -URI https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(16)(a)(2)) -URI https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910 Reference 3: 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)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_NotesPayableToBankNoncurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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

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

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

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

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

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

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

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

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

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

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

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