From ec49dcf5b937ca9c1b6f93e036b8dc3b960d064a Mon Sep 17 00:00:00 2001 From: chn Date: Tue, 15 Oct 2024 18:06:49 +0800 Subject: [PATCH] modules.system.nixpkgs: enable ca-derivation --- 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