Jump to content

NixOS on LoongArch: Difference between revisions

From Official NixOS Wiki
Weijia (talk | contribs)
Add a page for LoongArch
 
Weijia (talk | contribs)
Fix substituter URL
 
(One intermediate revision by the same user not shown)
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.
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="
  ];
};