current
1{
2 den.default.nixos = {
3 nix.settings = {
4 substituters = [
5 # cache mirror located in China
6 "https://mirrors.ustc.edu.cn/nix-channels/store?priority=10"
7 "https://mirrors.tuna.tsinghua.edu.cn/nix-channels/store?priority=10"
8
9 "https://nix-community.cachix.org?priority=11"
10 # Flox has CUDA support binary cache, I don't want to build ffmpeg every time I update my system
11 "https://cache.flox.dev?priority=20"
12 "https://cache.nixos-cuda.org?priority=21"
13 ];
14 trusted-public-keys = [
15 "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
16 "flox-cache-public-1:7F4OyH7ZCnFhcze3fJdfyXYLQw/aV7GEed86nQ7IsOs="
17 ];
18 };
19 };
20}