Hello eveerybody!
I tried to update system, but ran with a few issues.
First: evaluation warning: stdenv.isLinux is deprecated, use stdenv.hostPlatform.isLinux instead evaluation warning: stdenv.isDarwin is deprecated, use stdenv.hostPlatform.isDarwin instead
About first issue - I looked here and there and found theme “How to fix ‘evvaluation warning’”. I tried to change flake.nix file according to that guide, but the problem remains the same. And I don’t have Mac - I have an old desktop, with old videocard Nvidia GT-710 Kepler.
As for second issue - I have no idea what is the problem because I had never had such warnings before. In my configuraion.nix file I have this line:
boot = kernelPackages = pkgs.linuxPackages_latest;
Please, help me to solve these issues so that I may update my system smoothly as it was all that time since I’m using it.
Thank you for your help.
The issue is that the 470 Nvidia kernel modules are not currently compatible with Linux 7.2.x, as Linux 7.1.x is now EOL, the latest kernel the 470 Nvidia kernel modules support is Linux 6.18.x[1].
It actually doesn’t support anything past 6.1, however support for later kernels has been patched in ↩︎
Thank you, MaxHearnden!
So, I have no option to update my system, unless downgrade Linux kernel to 6.18 LTS? What if to change video card? For example, Radeon RX570?
You do have the option of using Nouveau by removing "nvidia" from services.xserver.videoDrivers. Nouveau has similar features to the Nvidia kernel modules.
AMD graphics cards are fully supported by Linux 7.2 (no out of tree modules required).
After some attempts I rolled back to Linux 6.18.48 and made some changes in the configuration file… So now everything is working and I’m thinking to replace gt710 to amd rx570 (4Gb).
Question: shuold I add to the configuration file kernel modules nvidiafb, nouveau, nvidia_drm? Or they had been installed by default?