Reapply "modules.system.nixpkgs: enable ca-derivation"

This reverts commit 48797c252b.
This commit is contained in:
陈浩南 2024-10-18 21:55:26 +08:00
parent 5030b33e29
commit d94ca34041

View File

@ -51,7 +51,7 @@ inputs:
oneapiArch = let match = { znver3 = "CORE-AVX2"; znver4 = "core-avx2"; }; oneapiArch = let match = { znver3 = "CORE-AVX2"; znver4 = "core-avx2"; };
in match.${nixpkgs.march} or nixpkgs.march; in match.${nixpkgs.march} or nixpkgs.march;
nvhpcArch = nixpkgs.march; nvhpcArch = nixpkgs.march;
# contentAddressedByDefault = true; contentAddressedByDefault = true;
enableCcache = true; enableCcache = true;
}); });
overlays = overlays =
@ -87,7 +87,7 @@ inputs:
config = cudaConfig // config = cudaConfig //
{ {
allowUnfree = true; allowUnfree = true;
# contentAddressedByDefault = true; contentAddressedByDefault = true;
permittedInsecurePackages = permittedInsecurePackages =
let pkgs = inputs.topInputs.${source.${name}}.legacyPackages.${system}; let pkgs = inputs.topInputs.${source.${name}}.legacyPackages.${system};
in map in map