kilgharrah: Enable CUDA (NVIDIA hardware acceleration)
This commit is contained in:
parent
dacc510074
commit
f6dedeea79
1 changed files with 6 additions and 0 deletions
|
@ -7,6 +7,12 @@
|
||||||
|
|
||||||
services.xserver.videoDrivers = [ "nvidia" ];
|
services.xserver.videoDrivers = [ "nvidia" ];
|
||||||
hardware.nvidia.open = false;
|
hardware.nvidia.open = false;
|
||||||
|
nixpkgs.config.cudaSupport = true;
|
||||||
|
nix.settings = {
|
||||||
|
# Community cache with prebuilt packages with cudaSupport enabled
|
||||||
|
substituters = [ "https://nix-community.cachix.org" ];
|
||||||
|
trusted-public-keys = [ "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" ];
|
||||||
|
};
|
||||||
|
|
||||||
# # Downgrade to driver version 535 as 550 has problems with Wayland
|
# # Downgrade to driver version 535 as 550 has problems with Wayland
|
||||||
# hardware.nvidia.package =
|
# hardware.nvidia.package =
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue