Last active
April 5, 2026 15:31
-
-
Save cizordj/e4d6934b4323486bf59fb82b7a44b34d to your computer and use it in GitHub Desktop.
NixOS configuration for running NVIDIA GTX 750 Ti (Maxwell) with driver 580.142.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { config, ... }: | |
| { | |
| services.xserver.videoDrivers = [ "nvidia" ]; | |
| hardware.graphics.enable = true; | |
| nixpkgs.config.nvidia.acceptLicense = true; | |
| hardware.nvidia = { | |
| modesetting.enable = true; | |
| powerManagement.enable = true; | |
| open = false; | |
| nvidiaSettings = true; | |
| gsp.enable = false; | |
| nvidiaPersistenced = true; | |
| package = config.boot.kernelPackages.nvidiaPackages.mkDriver { | |
| version = "580.142"; | |
| sha256_64bit = "sha256-IJFfzz/+icNVDPk7YKBKKFRTFQ2S4kaOGRGkNiBEdWM="; | |
| settingsSha256 = "sha256-BnrIlj5AvXTfqg/qcBt2OS9bTDDZd3uhf5jqOtTMTQM="; | |
| persistencedSha256 = "sha256-il403KPFAnDbB+dITnBGljhpsUPjZwmLjGt8iPKuBqw="; | |
| }; | |
| }; | |
| } |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
NixOS configuration for running NVIDIA GTX 750 Ti (Maxwell) with driver 580.142.
Newer NVIDIA drivers (e.g. 595+) silently drop or break support for older GPUs like Maxwell, causing errors such as:
This configuration pins a working driver version using
mkDriver, disables GSP (not supported on Maxwell), and provides all required hashes.Tested on NixOS with flakes.
Useful for anyone trying to keep older NVIDIA GPUs working on a modern NixOS system without downgrading the entire nixpkgs.