mirror of
https://github.com/ryan4yin/nixos-and-flakes-book.git
synced 2024-12-28 09:38:56 +01:00
fix: code box style
This commit is contained in:
parent
3ec5856073
commit
653e2c9203
@ -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)
|
||||
|
||||
|
@ -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}
|
||||
{
|
||||
# 省略若干配置...
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user