Skip to content

Commit 35eeb5e

Browse files
committed
nixpkgs.config.cuda{Archescuda -> Capabilities}
Fixes: LostRuins#1367
1 parent 204546b commit 35eeb5e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/nix_example.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ hardware.graphics.enable = true;
2929
- Set your GPU architecture:
3030

3131
```nix
32-
nixpkgs.config.cudaArches = [ "sm_75" ]; # Example for RTX 2080
32+
nixpkgs.config.cudaCapabilities = [ "sm_75" ]; # Example for RTX 2080
3333
```
3434

3535
To find your GPU's architecture code:
@@ -50,7 +50,7 @@ To find your GPU's architecture code:
5050
nixpkgs.config = {
5151
allowUnfree = true;
5252
cudaSupport = true;
53-
cudaArches = [ "sm_75" ];
53+
cudaCapabilities = [ "sm_75" ];
5454
};
5555
# NixOS 24.05
5656
hardware.opengl.enable = true;

0 commit comments

Comments
 (0)