From d94ca34041fb7ae7024b1c97c06c8c09b1c065a4 Mon Sep 17 00:00:00 2001 From: chn Date: Fri, 18 Oct 2024 21:55:26 +0800 Subject: [PATCH] Reapply "modules.system.nixpkgs: enable ca-derivation" This reverts commit 48797c252bada318eab5dbe07af928db7229bf14. --- modules/system/nixpkgs.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/system/nixpkgs.nix b/modules/system/nixpkgs.nix index c29c899e..3704f3ca 100644 --- a/modules/system/nixpkgs.nix +++ b/modules/system/nixpkgs.nix @@ -51,7 +51,7 @@ inputs: oneapiArch = let match = { znver3 = "CORE-AVX2"; znver4 = "core-avx2"; }; in match.${nixpkgs.march} or nixpkgs.march; nvhpcArch = nixpkgs.march; - # contentAddressedByDefault = true; + contentAddressedByDefault = true; enableCcache = true; }); overlays = @@ -87,7 +87,7 @@ inputs: config = cudaConfig // { allowUnfree = true; - # contentAddressedByDefault = true; + contentAddressedByDefault = true; permittedInsecurePackages = let pkgs = inputs.topInputs.${source.${name}}.legacyPackages.${system}; in map