From 38256ebea43548da3b80ac5e9fd7e1fe5062ff4d Mon Sep 17 00:00:00 2001 From: harukafractus <106440141+harukafractus@users.noreply.github.com> Date: Wed, 27 Mar 2024 06:22:27 +0000 Subject: [PATCH] Update nix-channels.rst --- source/nix-channels.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/nix-channels.rst b/source/nix-channels.rst index 8bb740c8..d5dc7cbd 100644 --- a/source/nix-channels.rst +++ b/source/nix-channels.rst @@ -51,7 +51,7 @@ NixOS channel 也可以以类似命令替换,以 ``nixos-19.09`` 为例(需 :: - nix.binaryCaches = [ "https://mirrors.ustc.edu.cn/nix-channels/store" ]; + nix.settings.substituters = [ "https://mirrors.ustc.edu.cn/nix-channels/store" ]; 对于 NixOS 21.11 及之前的版本,在 ``/etc/nixos/configuration.nix`` 中添加: