v3.22.2.2

Equity (Details) - USD ($) |  | 12 Months Ended
--- | --- | ---
Mar. 07, 2022 | Mar. 07, 2022 | Jun. 30, 2022 | Jun. 30, 2021
Equity (Details) [Line Items] |  |  |  |
Reverse split, description | 200:1 |  |  |
Equity [Member] |  |  |  |
Equity (Details) [Line Items] |  |  |  |
Reverse split, description |  | All share amounts have been adjusted to reflect a 1:200 reverse split effective March 7, 2022. |  |
200:1 Reverse Split [Member] |  |  |  |
Equity (Details) [Line Items] |  |  |  |
Cancellation of common stock representing fractional shares |  |  | 241,303 |
Preferred Series F Stock [Member] |  |  |  |
Equity (Details) [Line Items] |  |  |  |
Share issued |  |  | 11,414 |
Preferred Series E Stock [Member] |  |  |  |
Equity (Details) [Line Items] |  |  |  |
Number of common stock cancelled |  |  | 500,000 |
Preferred Series G Stock [Member] |  |  |  |
Equity (Details) [Line Items] |  |  |  |
Share issued |  |  | 51 |
Structured Loan [Member] |  |  |  |
Equity (Details) [Line Items] |  |  |  |
Share issued |  |  | 1,812,500 |
Shares of common stock for services [Member] |  |  |  |
Equity (Details) [Line Items] |  |  |  |
Share issued |  |  | 73,517 |
Investor [Member] |  |  |  |
Equity (Details) [Line Items] |  |  |  |
Share issued |  |  | 600,000 |
Professional Consulting Services [Member] |  |  |  |
Equity (Details) [Line Items] |  |  |  |
Share issued |  |  |  | 529,000
Share issued value (in Dollars) |  |  |  | $ 2,778,550
Common Stock Debt Reduction [Member] |  |  |  |
Equity (Details) [Line Items] |  |  |  |
Share issued |  |  |  | 6,914,064
Share issued value (in Dollars) |  |  |  | $ 13,031,235
Warrant holders [Member] |  |  |  |
Equity (Details) [Line Items] |  |  |  |
Share issued |  |  |  | 1,248,961
Commitment Shares Under Equity Purchase Agreement [Member] |  |  |  |
Equity (Details) [Line Items] |  |  |  |
Share issued |  |  |  | 3,279,693
Share issued value (in Dollars) |  |  |  | $ 13,601,329
Line of Credit [Member] |  |  |  |
Equity (Details) [Line Items] |  |  |  |
Common stock issued as collateral |  |  |  | 250,000
Classroom Technology Solutions, Inc. [Member] |  |  |  |
Equity (Details) [Line Items] |  |  |  |
Share issued |  |  |  | 50,000
Share issued value (in Dollars) |  |  |  | $ 151,000
Equity Purchase Agreement [Member] |  |  |  |
Equity (Details) [Line Items] |  |  |  |
Share issued |  |  |  | 0.5
Share issued value (in Dollars) |  |  | $ 600,000 |
Purchase Agreement [Member] |  |  |  |
Equity (Details) [Line Items] |  |  |  |
Share issued |  |  | 500,000 |
Equity Purchase Agreement [Member] |  |  |  |
Equity (Details) [Line Items] |  |  |  |
Share issued |  |  | 1,125,000 |

X
- Definition Number of cencelled common stock representing fractional shares. + References No definition available. + Details
Name: | gaxy_CancellationOfCommonStockRepresentingFractionalShares
Namespace Prefix: | gaxy_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Common stock issued as collateral. + References No definition available. + Details
Name: | gaxy_CommonStockIssuedAsCollateral
Namespace Prefix: | gaxy_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | gaxy_EquityDetailsLineItems
Namespace Prefix: | gaxy_
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 Number of shares (or other type of equity) forfeited during the period. + References No definition available. + Details
Name: | us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensationForfeited
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Equity impact of the value of new stock issued during the period. Includes shares issued in an initial public offering or a secondary public offering. + References Reference 1: 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 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 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 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_StockIssuedDuringPeriodValueNewIssues
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Description of the reverse stock split arrangement. Also provide the retroactive effect given by the reverse split that occurs after the balance sheet date but before the release of financial statements. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 4 -Subparagraph (SAB Topic 4.C) -URI https://asc.fasb.org/extlink&oid=120397183&loc=d3e187143-122770 + Details
Name: | us-gaap_StockholdersEquityReverseStockSplit
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_TradingActivityByTypeAxis=us-gaap_EquityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AssetAcquisitionAxis=gaxy_ReverseSplitMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

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

X
- Details
Name: | us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis=gaxy_StructuredLoanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RelatedPartyTransactionsByRelatedPartyAxis=gaxy_SharesOfCommonStockForServicesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RelatedPartyTransactionsByRelatedPartyAxis=us-gaap_InvestorMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RelatedPartyTransactionsByRelatedPartyAxis=gaxy_ProfessionalConsultingServicesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RelatedPartyTransactionsByRelatedPartyAxis=gaxy_CommonStockDebtReductionMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RelatedPartyTransactionsByRelatedPartyAxis=gaxy_WarrantHoldersMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RelatedPartyTransactionsByRelatedPartyAxis=gaxy_CommitmentSharesUnderEquityPurchaseAgreementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RelatedPartyTransactionsByRelatedPartyAxis=us-gaap_LineOfCreditMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RelatedPartyTransactionsByRelatedPartyAxis=gaxy_ClassroomTechnologySolutionsIncMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | us-gaap_FinancialSupportToNonconsolidatedLegalEntityAxis=gaxy_PurchaseAgreementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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