3 ms·
Enabling proprietary nvidia drivers on NixOS: services.xserver.videoDrivers = [ "nvidia" ]; Here's how you'd create a development environment that explici
by xcdzvyn 3y ago
Enabling proprietary nvidia drivers on NixOS:
services.xserver.videoDrivers = [ "nvidia" ];
Here's how you'd create a development environment that explicitly uses CUDA:
{
outputs = { self, nixpkgs }:
let pkgs = import nixpkgs
{
inherit x86_64-linux;
config.allowUnfree = true;
config.cudaSupport = true;
};
in
{
# Environment
};
};
}
I've never had NixOS break doing just about anything, including nvidia stuff.