diff --git a/help/_posts/2019-02-17-nix.md b/help/_posts/2019-02-17-nix.md index 283560f..ae66a8c 100644 --- a/help/_posts/2019-02-17-nix.md +++ b/help/_posts/2019-02-17-nix.md @@ -64,13 +64,13 @@ Channel 的镜像位于 目录下, 单独安装的 Nix 替换 `nixpkgs-unstable` 命令如下: ```console -$ nix-channel --add https://{{ site.hostname }}/nix-channels/nixpkgs-unstable +$ nix-channel --add https://{{ site.hostname }}/nix-channels/nixpkgs-unstable nixpkgs $ nix-channel --update ``` 替换 NixOS channel 命令如下(以 root 执行,将 `19.09` 替换为系统版本): ```console -# nix-channel --add https://{{ site.hostname }}/nix-channels/nixos-19.09 +# nix-channel --add https://{{ site.hostname }}/nix-channels/nixos-19.09 nixos # nix-channel --update ```