v3.22.1

Equity (Details) - USD ($) |  | 9 Months Ended
--- | --- | ---
Mar. 08, 2022 | Mar. 31, 2022 | Mar. 31, 2021
Equity (Details) [Line Items] |  |  |
Reverse split, description | All share amounts have been adjusted to reflect a 1:200 reverse split effective March 7, 2022. |  |
Cancellation of common stock representing fractional shares |  | 241,303 |
Shares of common stock for services [Member] |  |  |
Equity (Details) [Line Items] |  |  |
Share issued |  | 73,517 |
Shares Issued Stock Purchase Agreement [Member] |  |  |
Equity (Details) [Line Items] |  |  |
Share issued |  | 1,625,000 |
Share issued value (in Dollars) |  | $ 2,643,500 |
Shares Issued Stock Loan Agreement [Member] |  |  |
Equity (Details) [Line Items] |  |  |
Share issued |  | 312,500 |
Consulting services [Member] |  |  |
Equity (Details) [Line Items] |  |  |
Share issued value (in Dollars) |  | $ 356,250 |
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 |  |  | 287,500
Share issued value (in Dollars) |  |  | $ 1,177,000
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 |  |  | 1,885,000
Share issued value (in Dollars) |  |  | $ 8,292,400
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 |

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_RelatedPartyTransactionsByRelatedPartyAxis=gaxy_SharesOfCommonStockForServicesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

X
- Details
Name: | us-gaap_RelatedPartyTransactionsByRelatedPartyAxis=gaxy_ConsultingServicesMember
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_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: |