4 ms·
This is trivial to do on NixOS: services.xserver.videoDrivers = [ "nvidia" ]; For a full install for eg machine learning, you'd want these lines, too: en
by tbenst 7y ago
This is trivial to do on NixOS:
services.xserver.videoDrivers = [ "nvidia" ];
For a full install for eg machine learning, you'd want these lines, too:
environment.systemPackages = with pkgs; [
cudatoolkit
];
systemd.services.nvidia-control-devices = {
wantedBy = [ "multi-user.target" ];
serviceConfig.ExecStart = "${pkgs.linuxPackages.nvidia_x11}/bin/nvidia-smi";
};
- sterlind 7y ago(you do need to set config.allowUnfree = true; or the nvidia stuff will be hidden)
- chupasaurus 7y agoYou can download blob from official site, but it wouldn't work in a lot of cases after installation process while giving you no options for some choices there are (like GLX provider or vendor-neutral OpenGL libs), that's the difference of Debian's metapackage.