Jump to content

NixOS on LoongArch: Difference between revisions

From Official NixOS Wiki
Weijia (talk | contribs)
Add hyperlinks to Nix4Loong
Weijia (talk | contribs)
Fix substituter URL
 
Line 17: Line 17:
   substituters = [
   substituters = [
     "https://cache.nix4loong.cn" # "https://mirror.sysu.edu.cn/nix4loong/store"
     "https://cache.nix4loong.cn" # "https://mirror.sysu.edu.cn/nix4loong/store"
     "https://mirrors.nju.edu.cn/nix-channels/store"
     "https://mirrors.nju.edu.cn/nix4loong/store"
   ];
   ];
   trusted-public-keys = [
   trusted-public-keys = [

Latest revision as of 20:34, 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/nix4loong/store"
  ];
  trusted-public-keys = [
    "cache.nix4loong.cn-1:zmkwLihdSUyy6OFSVgvK3br0EaUEczLiJgDfvOmm3pA="
  ];
};