NixCon 2025
Slides: https://f.erethon.com/nixcon2025
nix-shell -p bash this path will be fetched (0.06 MiB download, 0.31 MiB unpacked): /nix/store/<hash>-bash-interactive-5.2p37-dev copying path '/nix/store/<hash>-bash-interactive-5.2p37-dev' from 'https://cache.nixos.org'...
man nix.conf substituters A list of URLs of Nix stores to be used as substituters, separated by whitespace. A substituter is an additional store from which Lix can obtain store objects instead of building them.
$ cat /etc/nix/nix.conf substituters = https://cache.nixos.org/
$ whois nixos.org | grep -i "registrar url" Registrar URL: http://www.gandi.net
$ dig +short NS nixos.org ns-177-a.gandi.net. ns-61-b.gandi.net. ns-161-c.gandi.net.
dig +short cache.nixos.org dualstack.v2.shared.global.fastly.net.
~ cat nixos/infra/dns/nixos.org.js D("nixos.org", REG_NONE, DnsProvider(DSP_GANDI), ... CNAME("cache", "dualstack.v2.shared.global.fastly.net."), A("pluto", "37.27.99.100"))
$ man nix.conf At least one of the following conditions must be met for Lix to accept copying a store object from another Nix store (such as a substituter): - the store object has been signed using a key in the trusted keys list
$ cat /etc/nix/nix.conf substituters = https://cache.nixos.org/ trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=