v3.22.2.2

Summary of Significant Accounting Policies (Details) - Schedule of capital structure - shares | 3 Months Ended | 12 Months Ended
--- | --- | ---
Sep. 30, 2022 | Jun. 30, 2022 | Jun. 30, 2021
Summary of Significant Accounting Policies (Details) - Schedule of capital structure [Line Items] |  |  |
Common Stock, shares authorized | 200,000,000 | 20,000,000 | 20,000,000
Common stock, shares issued | 21,353,550 | 19,169,128 | 15,699,414
Common stock, outstanding | 21,353,357 | 19,168,935 | 15,449,221
Common stockCommon stock, par or stated value per share | $.0001 par value, one vote per share | $.0001 par value, one vote per share | $.0001 par value, one vote per share
Preferred stock, shares authorized | 200,000,000 | 200,000,000 | 200,000,000
Preferred stock, shares issued |  |  |
Preferred stock, outstanding |  |  |
Preferred stock, par or stated value per share | $.0001 par value | $.0001 par value | $.0001 par value
Preferred Stock-Series A [Member] |  |  |
Summary of Significant Accounting Policies (Details) - Schedule of capital structure [Line Items] |  |  |
Preferred stock, shares authorized |  | 750,000 | 750,000
Preferred stock, shares issued |  |  |
Preferred stock, outstanding |  |  |
Preferred stock, par or stated value per share |  | $.0001 par value; no voting rights | $.0001 par value; no voting rights
Preferred Stock-Series B [Member] |  |  |
Summary of Significant Accounting Policies (Details) - Schedule of capital structure [Line Items] |  |  |
Preferred stock, shares authorized |  | 1,000,000 | 1,000,000
Preferred stock, shares issued |  |  |
Preferred stock, outstanding |  |  |
Preferred stock, par or stated value per share |  | Voting rights of 10 votes for 1 Preferred B share; 2% preferred dividend payable annually | Voting rights of 10 votes for 1 Preferred B share; 2% preferred dividend payable annually
Preferred Stock-Series C [Member] |  |  |
Summary of Significant Accounting Policies (Details) - Schedule of capital structure [Line Items] |  |  |
Preferred stock, shares authorized |  | 9,000,000 | 9,000,000
Preferred stock, shares issued |  |  |
Preferred stock, outstanding |  |  |
Preferred stock, par or stated value per share |  | $.0001 par value; 500 votes per share, convertible to common stock | $.0001 par value; 500 votes per share, convertible to common stock
Preferred Stock-Series F [Member] |  |  |
Summary of Significant Accounting Policies (Details) - Schedule of capital structure [Line Items] |  |  |
Preferred stock, shares authorized |  | 15,000 |
Preferred stock, shares issued |  | 11,414 |
Preferred stock, outstanding |  | 11,414 |
Preferred stock, par or stated value per share |  | $.0001 par value; no voting rights, convertible to common stock at a fixed price of $0.37 per share; stated value is $1,000 per share |
Preferred Stock-Series G [Member] |  |  |
Summary of Significant Accounting Policies (Details) - Schedule of capital structure [Line Items] |  |  |
Preferred stock, shares authorized |  | 51 |
Preferred stock, shares issued |  | 51 |
Preferred stock, par or stated value per share |  | $.0001 par value; 51% of the voting power of all voting securities of the Company, including the common and preferred stock. |
Preferred Stock-Series D [Member] |  |  |
Summary of Significant Accounting Policies (Details) - Schedule of capital structure [Line Items] |  |  |
Preferred stock, shares authorized |  |  | 1,000,000
Preferred stock, shares issued |  |  |
Preferred stock, outstanding |  |  |
Preferred stock, par or stated value per share |  |  | $.0001 par value; no voting rights, convertible to common stock, mandatory conversion to common stock 18 months after issue
Preferred Stock-Series E [Member] |  |  |
Summary of Significant Accounting Policies (Details) - Schedule of capital structure [Line Items] |  |  |
Preferred stock, shares authorized |  |  | 500,000
Preferred stock, shares issued |  |  | 500,000
Preferred stock, outstanding |  |  | 500,000
Preferred stock, par or stated value per share |  |  | $.0001 par value; no voting rights, convertible to common stock

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

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

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

X
- Definition The maximum number of common shares permitted to be issued by an entity's charter and bylaws. + 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 + Details
Name: | us-gaap_CommonStockSharesAuthorized
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Total number of common shares of an entity that have been sold or granted to shareholders (includes common shares that were issued, repurchased and remain in the treasury). These shares represent capital invested by the firm's shareholders and owners, and may be all or only a portion of the number of shares authorized. Shares issued include shares outstanding and shares held in the treasury. + 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 + Details
Name: | us-gaap_CommonStockSharesIssued
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number of shares of common stock outstanding. Common stock represent the ownership interest in a corporation. + References Reference 1: 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 2: 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 + Details
Name: | us-gaap_CommonStockSharesOutstanding
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition The maximum number of nonredeemable preferred shares (or preferred stock redeemable solely at the option of the issuer) permitted to be issued by an entity's charter and bylaws. + 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 + Details
Name: | us-gaap_PreferredStockSharesAuthorized
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

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://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://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 13 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=126973232&loc=SL123496158-112644 + Details
Name: | us-gaap_PreferredStockSharesIssued
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Aggregate share number for all nonredeemable preferred stock (or preferred stock redeemable solely at the option of the issuer) held by stockholders. Does not include preferred shares that have been repurchased. + 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 + Details
Name: | us-gaap_PreferredStockSharesOutstanding
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

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

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

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

X
- Details
Name: | us-gaap_StatementClassOfStockAxis=us-gaap_SeriesFPreferredStockMember
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_StatementClassOfStockAxis=us-gaap_SeriesDPreferredStockMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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