Loading nixos/modules/hardware/video/nvidia.nix +7 −0 Original line number Diff line number Diff line Loading @@ -356,6 +356,13 @@ in It is suggested to use the open source kernel modules on Turing or later GPUs (RTX series, GTX 16xx), and the closed source modules otherwise. ''; } { assertion = !cfg.open || (nvidia_x11.open != null); message = '' The selected NVIDIA package does not provide open kernel modules. Set hardware.nvidia.open = false or choose a package branch with open module support. ''; } ]; boot = { blacklistedKernelModules = [ Loading pkgs/os-specific/linux/nvidia-x11/default.nix +3 −0 Original line number Diff line number Diff line Loading @@ -126,6 +126,7 @@ rec { sha256_64bit = "sha256-ueL4BpN4FDHMh/TNKRCeEz3Oy1ClDWto1LO/LWlr1ok="; persistencedSha256 = "sha256-wsNeuw7IaY6Qc/i/AzT/4N82lPjkwfrhxidKWUtcwW8="; fabricmanagerSha256 = "sha256-f/AQ8HrgoqBQyXNrXA/UaI4OMQ9QcjjYWIhr1/5uM74="; openSha256 = "sha256-hECHfguzwduEfPo5pCDjWE/MjtRDhINVr4b1awFdP44="; useSettings = false; usePersistenced = true; useFabricmanager = true; Loading @@ -137,6 +138,7 @@ rec { sha256_64bit = "sha256-TKxT5I+K3/Zh1HyHiO0kBZokjJ/YCYzq/QiKSYmG7CY="; persistencedSha256 = "sha256-J1UwS0o/fxz45gIbH9uaKxARW+x4uOU1scvAO4rHU5Y="; fabricmanagerSha256 = "sha256-tyCHKIr8nxVfZIqcWKAwRoMLzmGlsOUhDlO5V/9W97Y="; openSha256 = "sha256-ychsaurbQ2KNFr/SAprKI2tlvAigoKoFU1H7+SaxSrY="; useSettings = false; usePersistenced = true; useFabricmanager = true; Loading @@ -148,6 +150,7 @@ rec { sha256_64bit = "sha256-AlaGfggsr5PXsl+nyOabMWBiqcbHLG4ij617I4xvoX0="; persistencedSha256 = "sha256-x4K0Gp89LdL5YJhAI0AydMRxl6fyBylEnj+nokoBrK8="; fabricmanagerSha256 = "sha256-jSTKzeRVTUcYma1Cb0ajSdXKCi6KzUXCp2OByPSWSR4="; openSha256 = "sha256-aTV5J4zmEgRCOavo6wLwh5efOZUG+YtoeIT/tnrC1Hg="; useSettings = false; usePersistenced = true; useFabricmanager = true; Loading Loading
nixos/modules/hardware/video/nvidia.nix +7 −0 Original line number Diff line number Diff line Loading @@ -356,6 +356,13 @@ in It is suggested to use the open source kernel modules on Turing or later GPUs (RTX series, GTX 16xx), and the closed source modules otherwise. ''; } { assertion = !cfg.open || (nvidia_x11.open != null); message = '' The selected NVIDIA package does not provide open kernel modules. Set hardware.nvidia.open = false or choose a package branch with open module support. ''; } ]; boot = { blacklistedKernelModules = [ Loading
pkgs/os-specific/linux/nvidia-x11/default.nix +3 −0 Original line number Diff line number Diff line Loading @@ -126,6 +126,7 @@ rec { sha256_64bit = "sha256-ueL4BpN4FDHMh/TNKRCeEz3Oy1ClDWto1LO/LWlr1ok="; persistencedSha256 = "sha256-wsNeuw7IaY6Qc/i/AzT/4N82lPjkwfrhxidKWUtcwW8="; fabricmanagerSha256 = "sha256-f/AQ8HrgoqBQyXNrXA/UaI4OMQ9QcjjYWIhr1/5uM74="; openSha256 = "sha256-hECHfguzwduEfPo5pCDjWE/MjtRDhINVr4b1awFdP44="; useSettings = false; usePersistenced = true; useFabricmanager = true; Loading @@ -137,6 +138,7 @@ rec { sha256_64bit = "sha256-TKxT5I+K3/Zh1HyHiO0kBZokjJ/YCYzq/QiKSYmG7CY="; persistencedSha256 = "sha256-J1UwS0o/fxz45gIbH9uaKxARW+x4uOU1scvAO4rHU5Y="; fabricmanagerSha256 = "sha256-tyCHKIr8nxVfZIqcWKAwRoMLzmGlsOUhDlO5V/9W97Y="; openSha256 = "sha256-ychsaurbQ2KNFr/SAprKI2tlvAigoKoFU1H7+SaxSrY="; useSettings = false; usePersistenced = true; useFabricmanager = true; Loading @@ -148,6 +150,7 @@ rec { sha256_64bit = "sha256-AlaGfggsr5PXsl+nyOabMWBiqcbHLG4ij617I4xvoX0="; persistencedSha256 = "sha256-x4K0Gp89LdL5YJhAI0AydMRxl6fyBylEnj+nokoBrK8="; fabricmanagerSha256 = "sha256-jSTKzeRVTUcYma1Cb0ajSdXKCi6KzUXCp2OByPSWSR4="; openSha256 = "sha256-aTV5J4zmEgRCOavo6wLwh5efOZUG+YtoeIT/tnrC1Hg="; useSettings = false; usePersistenced = true; useFabricmanager = true; Loading