Skip to content

Commit

Permalink
nixpkgs.config.cuda{Archescuda -> Capabilities}
Browse files Browse the repository at this point in the history
  • Loading branch information
DontEatOreo committed Mar 2, 2025
1 parent 204546b commit 35eeb5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/nix_example.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ hardware.graphics.enable = true;
- Set your GPU architecture:

```nix
nixpkgs.config.cudaArches = [ "sm_75" ]; # Example for RTX 2080
nixpkgs.config.cudaCapabilities = [ "sm_75" ]; # Example for RTX 2080
```

To find your GPU's architecture code:
Expand All @@ -50,7 +50,7 @@ To find your GPU's architecture code:
nixpkgs.config = {
allowUnfree = true;
cudaSupport = true;
cudaArches = [ "sm_75" ];
cudaCapabilities = [ "sm_75" ];
};
# NixOS 24.05
hardware.opengl.enable = true;
Expand Down

0 comments on commit 35eeb5e

Please sign in to comment.