update
This commit is contained in:
parent
cbc378da50
commit
77ce3248b9
@ -32,13 +32,17 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
nix.settings = {
|
nix.settings = {
|
||||||
|
experimental-features = [ "nix-command" "flakes" ];
|
||||||
auto-optimise-store = true;
|
auto-optimise-store = true;
|
||||||
substituters = lib.mkForce [
|
substituters = lib.mkForce [
|
||||||
"https://mirrors.ustc.edu.cn/nix-channels/store" # 中科大
|
"https://mirrors.ustc.edu.cn/nix-channels/store" # 中科大
|
||||||
"https://mirrors.tuna.tsinghua.edu.cn/nix-channels/store" #清华
|
"https://mirrors.tuna.tsinghua.edu.cn/nix-channels/store" #清华
|
||||||
"https://mirrors.bfsu.edu.cn/nix-channels/store" # 北外
|
"https://mirrors.bfsu.edu.cn/nix-channels/store" # 北外
|
||||||
"https://mirror.sjtu.edu.cn/nix-channels/store" #交大
|
"https://mirror.sjtu.edu.cn/nix-channels/store" #交大
|
||||||
"https://cache.nixos.org/"
|
#"https://cache.nixos.org/"
|
||||||
|
];
|
||||||
|
trusted-users = [
|
||||||
|
"tonychyi"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
nixConfig = {
|
nixConfig = rec {
|
||||||
experimental-features = [ "nix-command" "flakes" ];
|
experimental-features = [ "nix-command" "flakes" ];
|
||||||
|
|
||||||
substituters = [
|
substituters = [
|
||||||
@ -9,6 +9,10 @@
|
|||||||
"https://mirrors.ustc.edu.cn/nix-channels/store"
|
"https://mirrors.ustc.edu.cn/nix-channels/store"
|
||||||
"https://cache.nixos.org"
|
"https://cache.nixos.org"
|
||||||
];
|
];
|
||||||
|
trusted-substituters = substituters;
|
||||||
|
trusted-users = [
|
||||||
|
"tonychyi"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
inputs = {
|
inputs = {
|
||||||
|
Reference in New Issue
Block a user