feat: Add cuda binary cache substitute

This commit is contained in:
ulic-youthlic 2026-02-09 12:52:34 +08:00
parent 7c1f250338
commit fef28663d1
Signed by: youthlic
GPG key ID: 63E86C3C14A0D721
2 changed files with 2 additions and 4 deletions

View file

@ -39,6 +39,7 @@
lib.flatten [
(cachix "nix-community")
"https://cache.nixos.org"
"https://cache.nixos-cuda.org"
];
};
};

View file

@ -28,10 +28,6 @@
];
packageOverrides = p: {
intel-vaapi-driver = p.intel-vaapi-driver.override {enableHybridCodec = true;};
onnxruntime = p.onnxruntime.override {
cudaSupport = false;
ncclSupport = false;
};
};
};
};
@ -51,6 +47,7 @@
];
trusted-public-keys = [
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
"cache.nixos-cuda.org:74DUi4Ye579gUqzH4ziL9IyiJBlDpMRn9MBN8oNan9M="
];
auto-optimise-store = lib.mkDefault true;
experimental-features = [