by serhart · 7y ago · 0 comments
Hope that with 1.0, somebody will find a way.
[0]https://packages.debian.org/sid/nvidia-driver
edit: wording
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";
};So now you know of 2.
If I understand properly this is done via GUIX_PACKAGE_PATH which works somewhat like PATH in that multiple sources are searched in order of precedence.
https://www.gnu.org/software/guix/manual/en/html_node/Packag...
Instead of hoping that someone does it you could always do it yourself and host it somewhere everyone can benefit from.
https://www.gnu.org/software/guix/manual/en/html_node/Channe...