From 653e2c9203e53a46114a6ac66f44fdb3b0acf2c5 Mon Sep 17 00:00:00 2001 From: Ryan Yin Date: Tue, 10 Oct 2023 00:50:11 +0800 Subject: [PATCH] fix: code box style --- docs/nixos-with-flakes/nixos-with-flakes-enabled.md | 2 +- docs/zh/nixos-with-flakes/nixos-with-flakes-enabled.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/nixos-with-flakes/nixos-with-flakes-enabled.md b/docs/nixos-with-flakes/nixos-with-flakes-enabled.md index 29bf167..1daf90c 100644 --- a/docs/nixos-with-flakes/nixos-with-flakes-enabled.md +++ b/docs/nixos-with-flakes/nixos-with-flakes-enabled.md @@ -294,7 +294,7 @@ warning: ignoring untrusted substituter 'https://mirrors.ustc.edu.cn/nix-channel This is a security limitation of Nix, where only trusted users can properly use the set substituters. Therefore, we need to add our own user to the trusted list. Add the following configuration to any NixOS module: -```nix{3-4} +```nix{4-5} { # ... (other configurations omitted) diff --git a/docs/zh/nixos-with-flakes/nixos-with-flakes-enabled.md b/docs/zh/nixos-with-flakes/nixos-with-flakes-enabled.md index 239b8ab..7403032 100644 --- a/docs/zh/nixos-with-flakes/nixos-with-flakes-enabled.md +++ b/docs/zh/nixos-with-flakes/nixos-with-flakes-enabled.md @@ -277,7 +277,7 @@ warning: ignoring untrusted substituter 'https://mirrors.ustc.edu.cn/nix-channel 这是 Nix 的安全限制,只有可信用户才能正常使用这里设置好的 substituters,所以我们还需要将自己的用户添加到可信列表中。在任一 NixOS Module 中添加如下配置: -```nix{3-4} +```nix{4-5} { # 省略若干配置...