i think this addition is very good
This commit is contained in:
parent
c52418ea46
commit
c777f9ff4d
1 changed files with 5 additions and 0 deletions
|
|
@ -11,6 +11,11 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nixpkgs.config = {
|
||||||
|
cudaSupport = true;
|
||||||
|
cudaCapabilities = [ "8.9" ]; # 4090
|
||||||
|
};
|
||||||
|
|
||||||
# Load nvidia driver for Xorg and Wayland
|
# Load nvidia driver for Xorg and Wayland
|
||||||
services.xserver.videoDrivers = [ "nvidia" ];
|
services.xserver.videoDrivers = [ "nvidia" ];
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue