{ lib, ... }: { # ... nix.settings = { # allow substituters to be used substituters = [ # also add mirrors? # "https://mirrors.ustc.edu.cn/nix-channels/store" "https://cache.nixos.org" "https://hyprland.cachix.org" ]; trusted-public-keys = [ # the default public key of cache.nixos.org, it's built-in, no need to add it here "cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=" "hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc=" ]; builders-use-substitutes = true; }; }