v3.22.2.2

Notes Payable (Details) - Schedule of long-term Notes Payable (Parentheticals) | 12 Months Ended
--- | ---
Jun. 30, 2022 USD ($) $ / shares shares
Notes Payable [Member] |
Debt Instrument [Line Items] |
Interest rate | 4.00%
lowered interest rate | 3.00%
Maturity date | July 7, 2026
Principal and interest | $ 4,405
Notes Payable One [Member] |
Debt Instrument [Line Items] |
Maturity date | January 13, 2022
Principal and interest | $ 45,294
Investor bearing interest | 10.00%
Notes Payable Two [Member] |
Debt Instrument [Line Items] |
Maturity date | February 28, 2023
Notes payable to investor | $ 360,000
Bearing interest rate | 12.00%
Monthly installments | $ 30,000
Increase principals | $ 30,000
Notes Payable Three [Member] |
Debt Instrument [Line Items] |
Maturity date | March 18, 2023
Bearing interest rate | 12.00%
Monthly installments | $ 22,558
Expiring term | May 2022
Notes Payable Four [Member] |
Debt Instrument [Line Items] |
Maturity date | May 26, 2023
Principal and interest | $ 120,185
Bearing interest rate | 12.00%
Expiring term | May 2022
Common stock (in Shares) | shares | 750,000
Increase to the principal balance | $ 146,667
Notes Payable Five [Member] |
Debt Instrument [Line Items] |
Bearing interest rate | 12.00%
Note payable of due | $ 600,000
Issued at a discount | $ 60,000
Warrant for purchase (in Shares) | shares (in Shares) | shares | 600,000
Exercise price (in Dollars per share) | $ / shares (in Dollars per share) | $ / shares | $ 0.5
Notes Payable Six [Member] |
Debt Instrument [Line Items] |
Bearing interest rate | 11.00%
Issued at a discount | $ 49,500
Payments of due | 62,438
Notes Payable Seven [Member] |
Debt Instrument [Line Items] |
Principal and interest | $ 731
Bearing interest rate | 3.75%
Expiring | May, 2050
Notes Payable Eight [Member] |
Debt Instrument [Line Items] |
Offices and warehouses with monthly installments | $ 22,810
Expiring through | December 2024
Notes Payable Eight [Member] | Minimum [Member] |
Debt Instrument [Line Items] |
Offices and warehouses with monthly installments | $ 245
Notes Payable Eight [Member] | Maximum [Member] |
Debt Instrument [Line Items] |
Offices and warehouses with monthly installments | 9,664
Notes Payable Nine [Member] |
Debt Instrument [Line Items] |
Monthly installments | $ 679
Expiring term | December 2025
Interest percentage | 8.99%
Debt term | 6 years
Note Payable Ten [Member] |
Debt Instrument [Line Items] |
Monthly installments | $ 948
Expiring term | December 2025
Interest percentage | 8.99%
Debt term | 6 years
Note Payable Eleven [Member] |
Debt Instrument [Line Items] |
Monthly installments | $ 844
Expiring term | August 2025
Interest percentage | 6.00%
Debt term | 4 years

X
- References No definition available. + Details
Name: | gaxy_BearingInterestRate
Namespace Prefix: | gaxy_
Data Type: | dtr:percentItemType
Balance Type: | na
Period Type: | instant

X
- References No definition available. + Details
Name: | gaxy_CommonStock
Namespace Prefix: | gaxy_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Debt term. + References No definition available. + Details
Name: | gaxy_DebtTerm
Namespace Prefix: | gaxy_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Exercise price. + References No definition available. + Details
Name: | gaxy_ExercisePrice
Namespace Prefix: | gaxy_
Data Type: | dtr:perShareItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | gaxy_Expiring
Namespace Prefix: | gaxy_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | gaxy_ExpiringTerms
Namespace Prefix: | gaxy_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | gaxy_ExpiringThrough
Namespace Prefix: | gaxy_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | gaxy_IncreasePrincipals
Namespace Prefix: | gaxy_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- References No definition available. + Details
Name: | gaxy_IncreaseToThePrincipalBalance
Namespace Prefix: | gaxy_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- References No definition available. + Details
Name: | gaxy_InterestPercentage
Namespace Prefix: | gaxy_
Data Type: | dtr:percentItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | gaxy_InvestorBearingInterest
Namespace Prefix: | gaxy_
Data Type: | dtr:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition The date of maturity. + References No definition available. + Details
Name: | gaxy_MaturityDate
Namespace Prefix: | gaxy_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | gaxy_MonthlyInstallments
Namespace Prefix: | gaxy_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of note payable due. + References No definition available. + Details
Name: | gaxy_NotePayableOfDue
Namespace Prefix: | gaxy_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- References No definition available. + Details
Name: | gaxy_NotesPayableToInvestor
Namespace Prefix: | gaxy_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- References No definition available. + Details
Name: | gaxy_OfficesAndWarehousesWithMonthlyInstallments
Namespace Prefix: | gaxy_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of payments of due. + References No definition available. + Details
Name: | gaxy_PaymentsOfDue
Namespace Prefix: | gaxy_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- References No definition available. + Details
Name: | gaxy_PrincipalAndInterest
Namespace Prefix: | gaxy_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Warrant for purchase. + References No definition available. + Details
Name: | gaxy_WarrantForPurchase
Namespace Prefix: | gaxy_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | gaxy_loweredInterestRate
Namespace Prefix: | gaxy_
Data Type: | dtr:percentItemType
Balance Type: | na
Period Type: | instant

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 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 of unamortized debt discount (premium) and debt issuance costs. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 55 -Paragraph 69C -URI https://asc.fasb.org/extlink&oid=123466577&loc=SL123495737-112612 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 4 -Subparagraph (b)(2) -URI https://asc.fasb.org/extlink&oid=123466204&loc=SL6031897-161870 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -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 Reference 4: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 55 -Paragraph 69B -URI https://asc.fasb.org/extlink&oid=123466577&loc=SL123495735-112612 Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 3 -URI https://asc.fasb.org/extlink&oid=124435984&loc=d3e28555-108399 + Details
Name: | us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
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: |