The full log for ...-nvidia-x11-550.78-6.10.drv is over a thousand lines long so I don’t think it’s a good idea to send it all here but I have redirected the log to a text file in case it’s needed.
I use boot.kernelPackages = pkgs.linuxPackages_latest; in case that helps.
You do want this set and that would be enough to tell the system to install it, but I don’t know if that’s enough for it to work as you might also need to turn modesetting on according to the Nvidia - NixOS Wiki :
Without specifying hardware.nvidia.package, the system will just the stable version from your nixpkgs (config.boot.kernelPackages.nvidiaPackages.stable). What we did above is tell it to use another version, which is not in NixOS 24.05, yet.
Kernel Version 6.10 is currently not very stable on my system. One of my hard drives is not responding and the shutdown process is taking way too long. Although the driver 555 works with it. Unfortunately I’m going to stick to 6.9 until 6.10 matures more.
services.xserver.videoDrivers = ["nvidia"];
worked fine before, had no issues with it. It came with proprietary driver and a way to control the driver.
I think I meant the block pre formatted text with highlighting using three ` signs
If it works then that’s alright. If you do have issues in the future, just keep this option in mind.
Oh, well everything is mostly markdown. You can also see this guide on formatting in discourse if you’d like to know more.
You only have to manually specify the version if it’s not available for your system or if you’d like to keep the drivers pinned to a specific version. From this list, we can see that the 555.58.02 drivers aren’t available for NixOS 24.05.
Generally, stable releases are always outdated compared to the unstable branch of NixOS, that’s why we have to do this ourselves, but once this change is rolled back into NixOS 24.05, it should automatically be applied after a system update.
Now that I’m writing this, though, I’m noticing an interesting thing. For NixOS 24.05, we can see here that the latest stable version is 550.54.14, which should be the default according to the hardware.nvidia.package option definition. However, your system is trying to build 550.78, which corresponds to the production version.
Could this be the cause of the initial error, perhaps?
Edit: Probably unrelated. I think this comment explains the problem pretty well.
With Kernel 6.9.12 being End Of Life, I’m gonna have to look into getting 6.10 to work.
My issue with that approach is that NVIDIA X Server Settings are no longer available when installed and my GPU sensors aren’t there anymore, mainly the fan sensor. I don’t want to use X11 but having having the settings app is really nice.
The problem was the same. No nvidia-settings and no GPU sensors.
I have no clue how to check the driver version actually… All I know is that on my current generation I’m using nvidia-open drivers. Problem is still same when rebuilding with