v3.23.2

Notes Payable (Details) - Schedule of long-term Notes Payable (Parentheticals) - USD ($) | 12 Months Ended
--- | ---
Mar. 31, 2023 | Jun. 30, 2022
Notes Payable [Member] |  |
Debt Instrument [Line Items] |  |
Interest rate |  | 4.00%
lowered interest rate |  | 3.00%
Maturity date | June 26, 2020 | July 7, 2026
Principal and interest |  | $ 4,405
Bearing interest rate | 4.00% |
Monthly installments | $ 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 | March 18, 2023 | February 28, 2023
Notes payable to investor |  | $ 360,000
Bearing interest rate | 12.00% | 12.00%
Monthly installments | $ 22,558 | $ 30,000
Increase principals |  | $ 30,000
Issued at a discount | 24,450 |
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
Issued at a discount | $ 9,510 |
Notes Payable Four [Member] |  |
Debt Instrument [Line Items] |  |
Maturity date |  | May 26, 2023
Principal and interest |  | $ 120,185
Bearing interest rate | 12.00% | 12.00%
Expiring term |  | May 2022
Common stock (in Shares) |  | 750,000
Increase to the principal balance |  | $ 146,667
Issued at a discount | $ 49,500 |
Payments of due | $ 62,438 |
Notes Payable Five [Member] |  |
Debt Instrument [Line Items] |  |
Maturity date | May 26, 2023 |
Principal and interest | $ 120,185 |
Bearing interest rate | 12.00% | 12.00%
Increase principals | $ 146,667 |
Common stock (in Shares) | 750,000 |
Note payable of due |  | $ 600,000
Issued at a discount |  | $ 60,000
Warrant for purchase (in Shares) | shares (in Shares) |  | 600,000
Exercise price (in Dollars per share) | $ / shares (in Dollars per share) |  | $ 0.5
Notes Payable Six [Member] |  |
Debt Instrument [Line Items] |  |
Bearing interest rate | 12.00% | 11.00%
Common stock (in Shares) | 600,000 |
Note payable of due | $ 600,000 |
Issued at a discount | $ 60,000 | $ 49,500
Exercise price (in Dollars per share) | $ / shares (in Dollars per share) | $ 0.5 |
Payments of due |  | 62,438
Notes Payable Seven [Member] |  |
Debt Instrument [Line Items] |  |
Principal and interest |  | $ 731
Bearing interest rate | 11.00% | 3.75%
Issued at a discount | $ 49,500 |
Payments of due | $ 62,438 |
Expiring |  | May, 2050
Notes Payable Eight [Member] |  |
Debt Instrument [Line Items] |  |
Bearing interest rate | 12.00% |
Common stock (in Shares) | 1,000,000 |
Exercise price (in Dollars per share) | $ / shares (in Dollars per share) | $ 0.01 |
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] |  |
Maturity date | November 8,2023 |
Bearing interest rate | 12.00% |
Monthly installments |  | $ 679
Expiring term |  | December 2025
Issued at a discount | $ 310,000 |
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
- Definition The percentage of bearing interest. + References No definition available. + Details
Name: | gaxy_BearingInterestRate
Namespace Prefix: | gaxy_
Data Type: | dtr:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition The shares of common stock. + 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
- Definition The amount of expiring. + References No definition available. + Details
Name: | gaxy_Expiring
Namespace Prefix: | gaxy_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

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

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

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

X
- Definition The amount of increase to the principal balance. + References No definition available. + Details
Name: | gaxy_IncreaseToThePrincipalBalance
Namespace Prefix: | gaxy_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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

X
- Definition The percentage of investor bearing interest. + 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
- Definition The amount of monthly installments. + 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
- Definition The amount of notes payable to investor. + References No definition available. + Details
Name: | gaxy_NotesPayableToInvestor
Namespace Prefix: | gaxy_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The amount of offices and warehouses with monthly installments. + 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
- Definition The amount of principal and interest. + 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
- Definition The percentage of lowered interest. + 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 -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 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 835 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482900/835-30-50-1 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(f)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480678/235-10-S99-1 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.12-04(a)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480678/235-10-S99-3 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1B Reference 5: http://www.xbrl.org/2003/role/exampleRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 69B -Publisher FASB -URI https://asc.fasb.org//1943274/2147481568/470-20-55-69B Reference 6: http://www.xbrl.org/2003/role/exampleRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 69C -Publisher FASB -URI https://asc.fasb.org//1943274/2147481568/470-20-55-69C Reference 7: http://www.xbrl.org/2003/role/exampleRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 69E -Publisher FASB -URI https://asc.fasb.org//1943274/2147481568/470-20-55-69E Reference 8: http://www.xbrl.org/2003/role/exampleRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 69F -Publisher FASB -URI https://asc.fasb.org//1943274/2147481568/470-20-55-69F Reference 9: 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 10: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1B Reference 11: 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 12: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (e) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1B Reference 13: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (f) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1B Reference 14: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (h) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1B Reference 15: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1D -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1D Reference 16: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1D -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1D Reference 17: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1D -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1D Reference 18: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1E -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1E Reference 19: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1E -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1E Reference 20: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1E -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1E Reference 21: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1F -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1F Reference 22: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1F -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1F Reference 23: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1F -Subparagraph (b)(1) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1F Reference 24: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1F -Subparagraph (b)(2) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1F Reference 25: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1I -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1I + 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 -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 69B -Publisher FASB -URI https://asc.fasb.org//1943274/2147481568/470-20-55-69B Reference 2: http://www.xbrl.org/2003/role/exampleRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 69C -Publisher FASB -URI https://asc.fasb.org//1943274/2147481568/470-20-55-69C Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1D -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1D Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482925/835-30-45-3 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Subparagraph (b)(2) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-4 + 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: |