2023-12-03 08:16:41 +00:00
|
|
|
{config, ...}: {
|
2023-09-19 00:17:43 +00:00
|
|
|
nix.settings = {
|
2023-11-04 10:14:42 +00:00
|
|
|
trusted-users = ["@wheel"];
|
2023-11-27 12:33:27 +00:00
|
|
|
substituters =
|
2023-12-03 08:16:41 +00:00
|
|
|
{
|
|
|
|
"Asia/Shanghai" = [
|
2023-12-03 23:54:27 +00:00
|
|
|
"https://mirror.sjtu.edu.cn/nix-channels/store" # SJTU - 上海交通大学 Mirror
|
2023-11-27 12:33:27 +00:00
|
|
|
"https://mirrors.ustc.edu.cn/nix-channels/store" # USTC - 中国科学技术大学 Mirror
|
|
|
|
"https://mirrors.tuna.tsinghua.edu.cn/nix-channels/store" # TUNA - 清华大学 Mirror
|
2023-12-03 08:16:41 +00:00
|
|
|
];
|
|
|
|
}
|
|
|
|
.${config.time.timeZone}
|
2023-12-03 23:54:56 +00:00
|
|
|
or []
|
2023-12-03 08:16:41 +00:00
|
|
|
++ [
|
|
|
|
"https://nix-community.cachix.org"
|
|
|
|
"https://cache.garnix.io"
|
2023-12-10 15:56:40 +00:00
|
|
|
"https://berberman.cachix.org"
|
|
|
|
"https://hyprland.cachix.org"
|
2024-01-14 09:37:46 +00:00
|
|
|
"https://nix-gaming.cachix.org"
|
2023-11-27 12:33:27 +00:00
|
|
|
];
|
2023-09-19 00:17:43 +00:00
|
|
|
trusted-public-keys = [
|
2023-09-26 23:40:21 +00:00
|
|
|
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
|
|
|
"cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g="
|
2023-12-10 15:56:40 +00:00
|
|
|
"berberman.cachix.org-1:UHGhodNXVruGzWrwJ12B1grPK/6Qnrx2c3TjKueQPds="
|
|
|
|
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
|
2024-01-14 09:37:46 +00:00
|
|
|
"nix-gaming.cachix.org-1:nbjlureqMbRAxR1gJ/f3hxemL9svXaZF/Ees8vCUUs4="
|
2023-09-19 00:17:43 +00:00
|
|
|
];
|
|
|
|
use-xdg-base-directories = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
documentation = {
|
|
|
|
doc.enable = false;
|
|
|
|
info.enable = false;
|
|
|
|
nixos.enable = false;
|
|
|
|
};
|
|
|
|
}
|