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, shares 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, shares 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, shares 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, shares outstanding |  |  |
Preferred stock, par or stated value per share | $.0001 par value; voting rights of 10 votes for 1 Series B share; 2% preferred dividend payable annually | $.0001 par value; voting rights of 10 votes for 1 Series 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, shares 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 | 15,000 |
Preferred stock, shares issued | 11,414 | 11,414 |
Preferred stock, shares outstanding | 11,414 | 11,414 |
Preferred stock, par or stated value per share | $.0001 par value; no voting right, convertible to common at a fixed price per share | $.0001 par value; no voting rights, convertible to common at a fixed price of $0.37per 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 | 51 |
Preferred stock, shares issued | 51 | 51 |
Preferred stock, shares outstanding | 51 | 51 |
Preferred stock, par or stated value per share | $.0001 par value; no dividend rights, voting rights with common stock as a single series, one share equals 1% of the total voting rights, not subject to splits | $.0001 par value; no dividend rights, voting rights with common stock as a single series, one share equals 1% of the total voting rights, not subject to splits |

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

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

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