From 75c066352e24bac2acac3860090f70122c1a6d48 Mon Sep 17 00:00:00 2001 From: ZenithalHourlyRate Date: Mon, 22 May 2023 10:22:21 +0000 Subject: [PATCH] help: transpile from mirrorz-help --- help/_posts/2023-03-10-nix-channels.md | 41 +++++++++++++++++++------- 1 file changed, 30 insertions(+), 11 deletions(-) diff --git a/help/_posts/2023-03-10-nix-channels.md b/help/_posts/2023-03-10-nix-channels.md index 610a4b4..4f50175 100644 --- a/help/_posts/2023-03-10-nix-channels.md +++ b/help/_posts/2023-03-10-nix-channels.md @@ -9,7 +9,7 @@ mirrorid: nix-channels
- @@ -20,7 +20,7 @@ mirrorid: nix-channels
- @@ -91,6 +91,25 @@ mirrorid: nix-channels + 如果因为无法访问 https://cache.nixos.org 等原因,希望避免自动添加该默认地址,请在配置中使用`lib.mkForce`。 + + + +{% raw %} + +{% endraw %} + +

+ +
+
+
+
+ + #### 临时使用 在安装 NixOS 时临时使用: @@ -98,7 +117,7 @@ mirrorid: nix-channels {% raw %} - {% endraw %} @@ -106,7 +125,7 @@ nixos-install --option substituters "{{http_protocol}}{{mirror}}/store"

-
+
 
 
@@ -116,7 +135,7 @@ nixos-install --option substituters "{{http_protocol}}{{mirror}}/store" {% raw %} - {% endraw %} @@ -124,7 +143,7 @@ nixos-rebuild --option substituters "{{http_protocol}}{{mirror}}/store"

-
+
 
 
@@ -142,7 +161,7 @@ nixos-rebuild --options substituters "" {% raw %} - @@ -151,7 +170,7 @@ nix-channel --update

-
+
 
 
@@ -163,7 +182,7 @@ nix-channel --update
- @@ -173,7 +192,7 @@ nix-channel --update {% raw %} - @@ -182,7 +201,7 @@ nix-channel --update

-
+