document --substituters nix options

This commit is contained in:
colin 2022-11-06 03:47:10 -08:00
parent 9f43444f0c
commit 88fba6f496

View File

@ -24,6 +24,9 @@ in
config = {
# use our own binary cache
# to explicitly build from a specific cache (in case others are down):
# - `nixos-rebuild ... --option substituters https://cache.nixos.org`
# - `nix build ... --substituters http://desko:5000`
nix.settings.substituters = mkIf cfg.enable [
"https://nixcache.uninsane.org"
"http://desko:5000"