update: flake
This commit is contained in:
parent
6170ff2c1e
commit
2442ccf556
8 changed files with 129 additions and 153 deletions
|
|
@ -1,21 +0,0 @@
|
|||
# Here only set the environment for cuda shell env
|
||||
# For futher, see flake: https://github.com/DACHXY/python-cuda-flake
|
||||
{ lib, ... }:
|
||||
{
|
||||
nix = {
|
||||
settings = {
|
||||
substituters = [
|
||||
"https://cuda-maintainers.cachix.org"
|
||||
"https://cache.nixos.org/"
|
||||
];
|
||||
trusted-public-keys = [
|
||||
"cuda-maintainers.cachix.org-1:0dq3bujKpuEPMCX6U4WylrUDZ9JyUG0VpVZa7CNfq5E="
|
||||
];
|
||||
};
|
||||
};
|
||||
nixpkgs.config.allowUnfreePredicate =
|
||||
pkg:
|
||||
builtins.elem (lib.getName pkg) [
|
||||
"cuda-merged"
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue