Merge branch 'dramforever-patch-3'

This commit is contained in:
ZenithalHourlyRate 2021-09-07 16:12:19 +08:00
commit 36bf91ad82
No known key found for this signature in database
GPG Key ID: 1189C659F3D04C1C

View File

@ -45,13 +45,13 @@ Binary cache 的镜像位于 <https://{{ site.hostname }}/nix-channels/store>
substituters = https://{{ site.hostname }}/nix-channels/store https://cache.nixos.org/
```
- NixOS 和 nix-darwin 使用如下配置:
- NixOS 和 nix-darwin `configuration.nix`使用如下配置:
```nix
nix.binaryCaches = [ "https://{{ site.hostname }}/nix-channels/store" "https://cache.nixos.org/" ];
```
- NixOS 19.09 及以后版本和 nix-darwin 中系统会自动配置备选源站,也可用如下配置:
- NixOS 19.09 及以后版本和 nix-darwin 中系统会自动配置备选源站,也可用如下配置,同样在 `configuration.nix`
```nix
nix.binaryCaches = [ "https://{{ site.hostname }}/nix-channels/store" ];