dotfiles/.config/nix/nix.conf
2023-07-11 17:56:04 +02:00

17 lines
1.2 KiB
Plaintext

# enable nix-search, which is experimental as of 2022-04-02
experimental-features = nix-command flakes recursive-nix
max-jobs = auto # Allow building multiple derivations in parallel
keep-outputs = true # Do not garbage-collect build time-only dependencies (e.g. clang)
keep-derivations = true
auto-optimise-store = true
sandbox = true
# sandbox = false
extra-sandbox-paths = /nix/var/cache/ccache
# https://nixos.org/manual/nix/unstable/advanced-topics/distributed-builds.html
builders = ssh://nixbldr-vela x86_64-linux; ssh://nixbldr-loki x86_64-linux
builders =
trusted-substituters = https://cache.nixos.org https://nix-community.cachix.org
substituters = https://cache.nixos.org https://da-cache.cachix.org https://go-xkcdreader.cachix.org https://math-optim.cachix.org https://shajra.cachix.org https://diwt.cachix.org
trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= da-cache.cachix.org-1:LkkznyhDZaFQ/96wNR7ZVuYKOrcgibetEzC2sttDAOc= go-xkcdreader.cachix.org-1:XpmDNw54uMyt6IuBsW8YCHyJbyHOJT7Q9qlLW+CrRh8= math-optim.cachix.org-1:UvLCAwr+6o90QFjBsEKzmWyGiupqTpdRzANH98cr2+o= shajra.cachix.org-1:V0x7Wjgd/mHGk2KQwzXv8iydfIgLupbnZKLSQt5hh9o= diwt.cachix.org-1:a10SKVn8hzntdyarMTr2Kwh1XSvZPuQ5ca3/nwKN8TY=
trusted-users = root @wheel