den
 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=20"
10        "https://cache.garnix.io?priority=30"
11        # Flox has CUDA support binary cache, I don't want to build ffmpeg every time I update my system
12        "https://cache.flox.dev?priority=40"
13      ];
14      trusted-public-keys = [
15        "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
16        "cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g="
17        "flox-cache-public-1:7F4OyH7ZCnFhcze3fJdfyXYLQw/aV7GEed86nQ7IsOs="
18      ];
19    };
20  };
21}