NixOS on LoongArch: Difference between revisions
Fix substituter URL |
Add section on Hydra |
||
| Line 24: | Line 24: | ||
}; | }; | ||
</syntaxhighlight> | </syntaxhighlight> | ||
== Hydra == | |||
Nix4Loong maintains a [https://hydra.nix4loong.cn Hydra instance] that tracks the master and staging-next branches, as well as their corresponding release branches. The Hydra jobs are defined in the [https://github.com/Nix4Loong/hydra-jobs Nix4Loong/hydra-jobs] repository. | |||
Revision as of 23:04, 23 October 2026
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="
];
};
Hydra
Nix4Loong maintains a Hydra instance that tracks the master and staging-next branches, as well as their corresponding release branches. The Hydra jobs are defined in the Nix4Loong/hydra-jobs repository.