v3.23.1

Material Agreements (Details) - USD ($) |  |  |  | 1 Months Ended | 3 Months Ended | 9 Months Ended |
--- | --- | --- | --- | --- | --- | --- | ---
Nov. 07, 2022 | May 01, 2022 | Jan. 01, 2020 | Jun. 30, 2022 | Jul. 30, 2020 | May 31, 2020 | Sep. 15, 2018 | Mar. 31, 2023 | Mar. 31, 2022 | Mar. 31, 2023 | Mar. 31, 2022 | Aug. 01, 2022
Material Agreements (Details) [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Common stock, shares issued (in Shares) |  |  |  |  |  |  |  |  |  | 53,206,652 | 73,517 |
Equity purchase agreement | the Company signed a two year purchase agreement (“Equity Purchase Agreement”) with an investor. Pursuant to the terms of the Equity Purchase Agreement, the investor agreed to purchase up to $5 million of the Company’s common stock (subject to certain limitations) from time to time during the term of the Equity Purchase Agreement. The common stock transactions will be “put” to the investor, at the option of the Company, at a discount equal to 80% of the average of the two lowest daily stock prices during a ten day period, in exchange for working capital proceeds. The Company will register the shares before puts are allowed. There is a commitment fee of 500,000 shares that will be issued to the investor. During the three months ended March 31, 2023 and 2022, the Company issued 4,429,130 and 0 shares of common stock to the investor in exchange for proceeds for working capital. During the Nine Months ended March 31, 2023 and 2022, the Company issued 9,429,130 and 0 shares of common stock to the investor in exchange for proceeds for working capital. |  |  |  |  |  |  |  |  |  |  |
Percentage of purchase price |  |  |  |  |  | 3.50% |  |  |  |  |  |
Preferred stock, share issued (in Shares) |  |  |  |  |  |  |  |  |  |  |  |
Investor relations agreement description |  | on May 1, 2022, requiring $10,000 per month and $20,000 worth of restricted stock issued 4 times in 2022, beginning May 1, 2022, June 1, September 1, and December 1, 2022. The agreement will automatically renew annually unless 60 days’ notice is given by either party. The Company paid $20,000 and issued 70,922 shares for investment relations services during the three months ended March 31, 2023. The Company paid $20,000 and issued 70,922 shares for investment relations services during the Nine Months ended March 31, 2023. No fees or shares were issued during the three and Nine Months ended March 31, 2021. |  |  |  |  |  |  |  |  |  |
Shares issued (in Shares) |  | 1,000,000 |  |  |  |  |  |  |  |  |  | 1,000,000
Gross proceeds |  |  |  |  |  | 1.50% |  |  |  |  |  |
Closing equal percentage |  |  |  |  |  | 2.50% |  |  |  |  |  |
Issuance of equity securities |  |  |  |  |  | 7.00% |  |  |  |  |  |
Series G Preferred Stock [Member] |  |  |  |  |  |  |  |  |  |  |  |
Material Agreements (Details) [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Preferred stock, share issued (in Shares) |  |  |  | 25 |  |  |  |  |  |  |  |
Chief Executive Officer [Member] |  |  |  |  |  |  |  |  |  |  |  |
Material Agreements (Details) [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Annual compensation (in Dollars) |  |  | $ 500,000 |  |  |  |  |  |  |  |  |
Voting rights percentage |  |  | 26.00% |  |  |  |  |  |  |  |  |
Non-compete agreement and severance benefits (in Dollars) |  |  | $ 90,000 |  |  |  |  |  |  |  |  |
Voting power percentage |  |  |  | 26.00% |  |  |  |  |  |  |  |
Chief Executive Officer [Member] | Series G Preferred Stock [Member] |  |  |  |  |  |  |  |  |  |  |  |
Material Agreements (Details) [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Preferred stock, share issued (in Shares) |  |  |  | 26 |  |  |  |  |  |  |  |
Chief Financial Officer [Member] |  |  |  |  |  |  |  |  |  |  |  |
Material Agreements (Details) [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Annual compensation (in Dollars) |  |  | $ 250,000 |  |  |  |  |  |  |  |  |
Voting rights percentage |  |  | 25.00% |  |  |  |  |  |  |  |  |
Non-compete agreement and severance benefits (in Dollars) |  |  | $ 72,000 |  |  |  |  |  |  |  |  |
Voting power percentage |  |  |  | 25.00% |  |  |  |  |  |  |  |
Manufacturing And Distributorship Agreement [Member] |  |  |  |  |  |  |  |  |  |  |  |
Material Agreements (Details) [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Minimum purchase commitment (in Dollars) |  |  |  |  |  |  | $ 2,000,000 |  |  |  |  |
Payment term percentage |  |  |  |  |  |  | 20.00% |  |  |  |  |
Advance payment percentage |  |  |  |  |  |  | 30.00% |  |  |  |  |
Remaining payment percentage |  |  |  |  |  |  | 50.00% |  |  |  |  |
Agreement term |  |  |  |  |  |  | 2 years |  |  |  |  |
Equity Purchase Agreement [Member] |  |  |  |  |  |  |  |  |  |  |  |
Material Agreements (Details) [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Purchase agreement term |  |  |  |  |  | 2 years |  |  |  |  |  |
Value of shares purchased (in Dollars) |  |  |  |  |  | $ 10,000,000 |  |  |  |  |  |
Common stock, shares issued (in Shares) |  |  |  |  |  |  |  | 0 | 500,000 | 0 | 1,625,000 |
Accounts Receivable Factoring Agreement [Member] |  |  |  |  |  |  |  |  |  |  |  |
Material Agreements (Details) [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Percentage of purchase price |  |  |  |  | 80.00% |  |  |  |  |  |  |
Percentage of factoring fees |  |  |  |  | 2.50% |  |  |  |  |  |  |
Percentage of factoring fees increases |  |  |  |  | 3.50% |  |  |  |  |  |  |
Credit line (in Dollars) |  |  |  |  | $ 1,000,000 |  |  |  |  |  |  |
Factored receivables (in Dollars) |  |  |  |  | $ 300,000 |  |  |  |  |  |  |
Collection fees (in Dollars) |  |  |  |  |  |  |  | $ 30,964 | $ 11,216 | $ 150,183 | $ 36,244 |

X
- Definition Advance payment percentage. + References No definition available. + Details
Name: | gaxy_AdvancePaymentPercentage
Namespace Prefix: | gaxy_
Data Type: | dtr:percentItemType
Balance Type: | na
Period Type: | duration

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

X
- Definition Closing equal percentage. + References No definition available. + Details
Name: | gaxy_ClosingEqualPercentage
Namespace Prefix: | gaxy_
Data Type: | dtr:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Payment of collection fees. + References No definition available. + Details
Name: | gaxy_CollectionFees
Namespace Prefix: | gaxy_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of credit line. + References No definition available. + Details
Name: | gaxy_CreditLine
Namespace Prefix: | gaxy_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The disclosure of equity purchase agreement. + References No definition available. + Details
Name: | gaxy_EquityPurchaseAgreementDescription
Namespace Prefix: | gaxy_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of factored receivables. + References No definition available. + Details
Name: | gaxy_FactoredReceivables
Namespace Prefix: | gaxy_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Percentage of gross proceeds. + References No definition available. + Details
Name: | gaxy_GrossProceeds
Namespace Prefix: | gaxy_
Data Type: | dtr:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Investor Relations Agreement. + References No definition available. + Details
Name: | gaxy_InvestorRelationsAgreement
Namespace Prefix: | gaxy_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

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

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

X
- Definition Payment term percentage. + References No definition available. + Details
Name: | gaxy_PaymentTermPercentage
Namespace Prefix: | gaxy_
Data Type: | dtr:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage of factoring fees. + References No definition available. + Details
Name: | gaxy_PercentageOfFactoringFees
Namespace Prefix: | gaxy_
Data Type: | dtr:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage of factoring fees increases. + References No definition available. + Details
Name: | gaxy_PercentageOfFactoringFeesIncreases
Namespace Prefix: | gaxy_
Data Type: | dtr:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage of purchase price. + References No definition available. + Details
Name: | gaxy_PercentageOfPurchasePrice
Namespace Prefix: | gaxy_
Data Type: | dtr:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage voting power. + References No definition available. + Details
Name: | gaxy_PercentageOfVotingPower
Namespace Prefix: | gaxy_
Data Type: | dtr:percentItemType
Balance Type: | na
Period Type: | duration

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

X
- Definition Remaining payment percentage. + References No definition available. + Details
Name: | gaxy_RemainingPaymentPercentage
Namespace Prefix: | gaxy_
Data Type: | dtr:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Value of shares purchased. + References No definition available. + Details
Name: | gaxy_ValueOfSharesPurchased
Namespace Prefix: | gaxy_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Percentage voting rights. + References No definition available. + Details
Name: | gaxy_VotingRights
Namespace Prefix: | gaxy_
Data Type: | dtr:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition The minimum amount the entity agreed to spend under the long-term purchase commitment. + References No definition available. + Details
Name: | us-gaap_LongTermPurchaseCommitmentAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of expense for salary and wage arising from service rendered by officer. Excludes allocated cost, labor-related nonsalary expense, and direct and overhead labor cost included in cost of good and service sold. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 220 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03(4)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147483621/220-10-S99-2 + Details
Name: | us-gaap_OfficersCompensation
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Total number of nonredeemable preferred shares (or preferred stock redeemable solely at the option of the issuer) issued to shareholders (includes related preferred shares that were issued, repurchased, and remain in the treasury). May be all or portion of the number of preferred shares authorized. Excludes preferred shares that are classified as debt. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 505 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 13 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481112/505-10-50-13 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(28)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_PreferredStockSharesIssued
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number of shares of stock issued as of the balance sheet date, including shares that had been issued and were previously outstanding but which are now held in the treasury. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 50 -Paragraph 2 -SubTopic 10 -Topic 505 -Publisher FASB -URI https://asc.fasb.org//1943274/2147481112/505-10-50-2 + Details
Name: | us-gaap_SharesIssued
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number of new stock issued during the period. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 50 -Paragraph 2 -SubTopic 10 -Topic 505 -Publisher FASB -URI https://asc.fasb.org//1943274/2147481112/505-10-50-2 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 505 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481004/946-505-50-2 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.6-09(4)(b)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147483575/946-220-S99-3 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.6-03(i)(1)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479886/946-10-S99-3 Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(28)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 Reference 6: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 505 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480008/505-10-S99-1 Reference 7: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_StockIssuedDuringPeriodSharesNewIssues
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Liability for amount due employees, in addition to wages and any other money that employers owe employees, when their employment ends through a layoff or other termination. For example, a company may provide involuntarily terminated employees with a lump sum payment equal to one week's salary for every year of employment. + References No definition available. + Details
Name: | us-gaap_SupplementalUnemploymentBenefitsSeveranceBenefits
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | us-gaap_StatementClassOfStockAxis=us-gaap_SeriesGPreferredStockMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_TitleOfIndividualAxis=srt_ChiefExecutiveOfficerMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_TitleOfIndividualAxis=srt_ChiefFinancialOfficerMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ContractWithCustomerDurationAxis=gaxy_ManufacturingAndDistributorshipAgreementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ContractWithCustomerDurationAxis=gaxy_EquityPurchaseAgreementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ContractWithCustomerDurationAxis=gaxy_AccountsReceivableFactoringAgreementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |