From d4896b353eed0ab37cf8a2591fe1f5369c37883f Mon Sep 17 00:00:00 2001 From: tzlil Date: Thu, 16 Feb 2023 16:40:26 +0200 Subject: stuff --- profiles/gentoo.nix | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'profiles') diff --git a/profiles/gentoo.nix b/profiles/gentoo.nix index 6747ba6..9755fd8 100644 --- a/profiles/gentoo.nix +++ b/profiles/gentoo.nix @@ -3,6 +3,15 @@ { imports = []; config = { + nix.binaryCaches = [ + "https://cache.nixos.org/" + "https://cache.allvm.org/" + ]; + + nix.binaryCachePublicKeys = [ + "gravity.cs.illinois.edu-1:yymmNS/WMf0iTj2NnD0nrVV8cBOXM9ivAkEdO1Lro3U=" + ]; + nativeStdenv = prev.stdenvAdapters.withCFlags [ "-O3" "-pipe" "-march=native" ] (prev.overrideCC prev.llvmPackages_latest.stdenv (prev.wrapCCWith rec { -- cgit 1.4.1