v3.22.1

Material Agreements (Details) | 1 Months Ended | 3 Months Ended | 9 Months Ended
--- | --- | --- | ---
Jul. 30, 2020 USD ($) | May 31, 2020 USD ($) | Sep. 15, 2018 USD ($) | Mar. 31, 2022 USD ($) shares | Mar. 31, 2021 USD ($) shares | Mar. 31, 2022 USD ($) shares | Mar. 31, 2021 USD ($) shares
Material Agreements (Details) [Line Items] |  |  |  |  |  |  |
Payment term percentage |  |  | 20.00% |  |  |  |
Advance payment percentage |  |  | 30.00% |  |  |  |
Remaining payment percentage |  |  | 50.00% |  |  |  |
Percentage of factoring fees increases | 3.50% |  |  |  |  |  |
Chief Executive Officer [Member] |  |  |  |  |  |  |
Material Agreements (Details) [Line Items] |  |  |  |  |  |  |
Annual compensation |  |  |  |  |  | $ 500,000 |
Preferred voting rights |  |  |  |  |  | a minimum 25.5% of the total voting rights |
Non-compete agreement and severance benefits |  |  |  | $ 90,000 |  | $ 90,000 |
Chief Financial Officer [Member] |  |  |  |  |  |  |
Material Agreements (Details) [Line Items] |  |  |  |  |  |  |
Annual compensation |  |  |  |  |  | $ 250,000 |
Preferred voting rights |  |  |  |  |  | a minimum 25.5% of the total voting rights |
Non-compete agreement and severance benefits |  |  |  | $ 72,000 |  | $ 72,000 |
Manufacturing And Distributorship Agreement [Member] |  |  |  |  |  |  |
Material Agreements (Details) [Line Items] |  |  |  |  |  |  |
Minimum purchase commitment |  |  | $ 2,000,000 |  |  |  |
Equity Purchase Agreement [Member] |  |  |  |  |  |  |
Material Agreements (Details) [Line Items] |  |  |  |  |  |  |
Value of shares purchased |  | $ 10,000,000 |  |  |  |  |
Shares issued (in Shares) | shares |  |  |  | 5,000,000 | 675,000 | 1,625,000 | 1,885,000
Accounts Receivable Factoring Agreement [Member] |  |  |  |  |  |  |
Material Agreements (Details) [Line Items] |  |  |  |  |  |  |
Percentage of purchase price | 80.00% |  |  |  |  |  |
Percentage of factoring fees | 2.50% |  |  |  |  |  |
Credit line | $ 1,000,000 |  |  |  |  |  |
Factored receivables | $ 300,000 |  |  |  |  |  |
Collection fees |  |  |  | $ 11,216 | $ 2,803 | $ 36,224 | $ 14,991
Supply Agreement [Member] |  |  |  |  |  |  |
Material Agreements (Details) [Line Items] |  |  |  |  |  |  |
Number of units ordered under supply agreement |  |  |  |  |  | 4,000 |
Supply agreement amount |  |  |  |  |  | $ 3,488,000 |
Tooling costs |  |  |  |  |  | $ 25 |

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 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 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
- References No definition available. + Details
Name: | gaxy_MaterialAgreementsDetailsLineItems
Namespace Prefix: | gaxy_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of units supplied under supply agreement. + References No definition available. + Details
Name: | gaxy_NumberOfUnitsSuppliedUnderSupplyAgreement
Namespace Prefix: | gaxy_
Data Type: | xbrli:decimalItemType
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 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 Supply agreement amount. + References No definition available. + Details
Name: | gaxy_SupplyAgreementAmount
Namespace Prefix: | gaxy_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Tooling costs. + References No definition available. + Details
Name: | gaxy_ToolingCosts
Namespace Prefix: | gaxy_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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 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 -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03(4)) -URI https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227 + Details
Name: | us-gaap_OfficersCompensation
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Description of voting rights of nonredeemable preferred stock. Includes eligibility to vote and votes per share owned. Include also, if any, unusual voting rights. + 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(28)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 3 -URI https://asc.fasb.org/extlink&oid=126973232&loc=d3e21475-112644 + Details
Name: | us-gaap_PreferredStockVotingRights
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of new stock issued during the period. + 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(29)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 2 -URI https://asc.fasb.org/extlink&oid=126973232&loc=d3e21463-112644 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -URI https://asc.fasb.org/extlink&oid=120397183&loc=d3e187085-122770 Reference 4: 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(28)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + 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: | 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: |

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