fix: Adding Custom Cache Mirrors

This commit is contained in:
Ryan Yin 2023-08-03 11:06:18 +08:00
parent d24cb2a50c
commit cc056cf262
2 changed files with 2 additions and 2 deletions

View File

@ -281,7 +281,7 @@ This is a security limitation of Nix, where only trusted users can properly use
{ {
# ... (other configurations omitted) # ... (other configurations omitted)
nix.trustedUsers = [ "ryan" ]; # Add your own username to the trusted list nix.settings.trusted-users = [ "ryan" ]; # Add your own username to the trusted list
# ... (other configurations omitted) # ... (other configurations omitted)
} }

View File

@ -265,7 +265,7 @@ warning: ignoring untrusted substituter 'https://mirrors.ustc.edu.cn/nix-channel
{ {
# 省略若干配置... # 省略若干配置...
nix.trustedUsers = [ "ryan" ]; # 将自己的用户名添加到可信列表中 nix.settings.trusted-users = [ "ryan" ]; # 将自己的用户名添加到可信列表中
# 省略若干配置... # 省略若干配置...
} }