v3.23.2

Summary of Significant Accounting Policies (Details) - Schedule of capital structure - shares | Mar. 31, 2023 | Jun. 30, 2022 | Jun. 30, 2021
--- | --- | --- | ---
Summary of Significant Accounting Policies (Details) - Schedule of capital structure [Line Items] |  |  |
Common Stock, shares Authorized | 3,000,000,000 | 20,000,000 | 20,000,000
Common stock, shares Issued | 116,529,871 | 19,169,128 | 15,699,414
Common stock, shares Outstanding | 116,529,871 | 19,168,935 |
Common stock Common stock, par or stated value per share | $.0001 par value, one vote per share | $.0001 par value, one vote per share |
Common Stock, shares Authorized | 200,000,000 | 200,000,000 | 200,000,000
Common stock, shares Issued |  |  |
Common stock, shares Outstanding |  |  |
Preferred stock, par or stated value per share | $.0001 par value | $.0001 par value |
Preferred stock - Series A [Member] |  |  |
Summary of Significant Accounting Policies (Details) - Schedule of capital structure [Line Items] |  |  |
Common Stock, shares Authorized | 750,000 | 750,000 |
Common stock, shares Issued |  |  |
Common 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] |  |  |
Common Stock, shares Authorized | 1,000,000 | 1,000,000 |
Common stock, shares Issued |  |  |
Common 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] |  |  |
Common Stock, shares Authorized | 9,000,000 | 9,000,000 |
Common stock, shares Issued |  |  |
Common 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] |  |  |
Common Stock, shares Authorized | 15,000 | 15,000 |
Common stock, shares Issued | 2,704 | 11,414 |
Common stock, shares Outstanding | 2,704 | 11,414 |
Preferred stock, par or stated value per share | $.0001 par value; no voting right, convertible to common at a fixed price of $0.37 per share, stated value is $1,000 per share | $.0001 par value; no voting right, convertible to common 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] |  |  |
Common Stock, shares Authorized | 51 | 51 |
Common stock, shares Issued | 51 | 51 |
Common 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
- Definition Common stock common stock, par or stated value per share. + 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://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-04(16)(a)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479617/946-210-S99-1 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 + 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 -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_CommonStockSharesIssued
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://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-04(16)(a)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479617/946-210-S99-1 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(28)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 + 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://www.xbrl.org/2003/role/disclosureRef -Topic 505 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 13 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481112/505-10-50-13 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(28)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 + 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://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 2 -Subparagraph (SX 210.6-05(4)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479617/946-210-S99-2 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 946 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.6-09(4)(b)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147483575/946-220-S99-3 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-04(16)(a)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479617/946-210-S99-1 Reference 4: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 946 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.6-09(7)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147483575/946-220-S99-3 Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(28)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_PreferredStockSharesOutstanding
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number of shares issued which are neither cancelled nor held in the treasury. + References No definition available. + Details
Name: | us-gaap_SharesOutstanding
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: |