| 8 Jun 2021 |
jonringer | oh, I mistyped | 23:23:23 |
jonringer | * you probably want. services.xserver.videoDrivers = [ "nvidiaLegacy390" ]; | 23:23:30 |
Natan Lao | ah yeah, no dice unfortunately | 23:23:54 |
Natan Lao | error: Selecting an nvidia driver has been modified for NixOS 19.03. The version is now set using hardware.nvidia.package. | 23:23:56 |
Natan Lao | * error: Selecting an nvidia driver has been modified for NixOS 19.03. The version is now set using `hardware.nvidia.package`. | 23:24:01 |
hexa | and setting that doesn't work? | 23:24:22 |
Natan Lao | unfortunately not; i do get the nouveau drivers but not the unfree drivers | 23:24:43 |
hexa | hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.legacy390; | 23:25:11 |
Natan Lao | I have that line exactly except s/legacy390/legacy_390 | 23:25:40 |
jonringer | I think you also need services.xserver.videoDrivers = [ "nvidiaLegacy390" ]; | 23:25:56 |
ahdyt | I use offloading for legacy390 vga and works great | 23:26:01 |
jonringer | otherwise you would get the default list, which has the nouveau | 23:26:09 |
ahdyt | In reply to @jonringer:matrix.org I think you also need services.xserver.videoDrivers = [ "nvidiaLegacy390" ]; No | 23:26:13 |
jonringer | * I think you also need services.xserver.videoDrivers = [ "nvidia" ]; | 23:26:33 |
ahdyt | If you set nvidialegacy390 the compiler will yell that you have to set it at hardware.nvidia.packafe | 23:26:42 |
jonringer | sorry, I mean to just have "nvidia" | 23:26:42 |
ahdyt | * If you set nvidialegacy390 the compiler will yell that you have to set it at hardware.nvidia.packGe | 23:26:49 |
ahdyt | Yeah that's right | 23:26:53 |
ahdyt | * If you set nvidialegacy390 the compiler will yell that you have to set it at hardware.nvidia.package | 23:26:58 |
jonringer | * sorry, I meant to just have "nvidia" | 23:27:04 |
hexa | worth documenting in the wiki | 23:27:10 |
jonringer | absolutely | 23:27:19 |
hexa | https://nixos.wiki/wiki/Nvidia | 23:27:20 |
Natan Lao | okay, i'll give it a shot and report back! | 23:27:27 |
jonringer | I'm updating the wiki | 23:29:03 |
Natan Lao | works perfect @jon | 23:32:06 |
Natan Lao | * works perfect @jonringer, thanks so much! | 23:32:11 |
Natan Lao | * works perfect jonringer thanks so much! | 23:32:24 |
Natan Lao | thanks for updating the wiki, i also noticed that the manual and the suggestion for hardware.nvidia.package are out of date so i'll open a PR for those today | 23:32:56 |
jonringer | https://nixos.wiki/wiki/Nvidia#Legacy_Drivers | 23:35:41 |