cuda unfree

This commit is contained in:
2025-02-28 12:55:01 +01:00
parent 2063655b6c
commit 2281cf9111

View File

@@ -10,6 +10,10 @@
allowUnfree = true;
cudaSupport = true;
};
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
"cuda_cudart"
];
# Load nvidia driver for Xorg and Wayland
services.xserver.videoDrivers = ["nvidia"];
@@ -54,8 +58,5 @@
];
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
"cuda_cudart"
];
}