Jump to content

NixOS on LoongArch: Difference between revisions

From Official NixOS Wiki
Weijia (talk | contribs)
Add a page for LoongArch
 
Weijia (talk | contribs)
Add hyperlinks to Nix4Loong
Line 1: Line 1:
{{Expansion}}
{{Expansion}}


NixOS does not provide official support for LoongArch architectures. For the loongarch64-linux architecture, however, community support is available through the Nix4Loong project.
NixOS does not provide official support for LoongArch architectures. For the loongarch64-linux architecture, however, community support is available through the [https://nix4loong.cn/en Nix4Loong] project.


== Installation ==
== Installation ==


For the loongarch64-linux architecture, graphical and minimal installation ISOs are available from Nix4Loong.
For the loongarch64-linux architecture, graphical and minimal installation ISOs are available from [https://nix4loong.cn/en/installation#nixos Installation — Nix4Loong].


Once the ISO image is downloaded, refer to [[NixOS Installation Guide]] to get started.
Once the ISO image is downloaded, refer to [[NixOS Installation Guide]] to get started.

Revision as of 18:24, 14 April 2026

☶︎
This article or section needs to be expanded. Further information may be found in the related discussion page. Please consult the pedia article metapage for guidelines on contributing.

NixOS does not provide official support for LoongArch architectures. For the loongarch64-linux architecture, however, community support is available through the Nix4Loong project.

Installation

For the loongarch64-linux architecture, graphical and minimal installation ISOs are available from Installation — Nix4Loong.

Once the ISO image is downloaded, refer to NixOS Installation Guide to get started.

Binary cache

Nix4Loong provides a binary cache with infrastructure support from Matrix at Sun Yat-sen University. An additional mirror is also maintained by the Nanjing University Linux Users Group:

nix.settings = {
  substituters = [
    "https://cache.nix4loong.cn" # "https://mirror.sysu.edu.cn/nix4loong/store"
    "https://mirrors.nju.edu.cn/nix-channels/store"
  ];
  trusted-public-keys = [
    "cache.nix4loong.cn-1:zmkwLihdSUyy6OFSVgvK3br0EaUEczLiJgDfvOmm3pA="
  ];
};