Reswitch from Nvidia drivers to Nouveau

This commit is contained in:
Victor Mignot 2024-06-15 18:28:33 +02:00
parent 33047d4473
commit 94cb745638
Signed by: dala
GPG key ID: 5E7F2CE1BEAFED3D
2 changed files with 1 additions and 9 deletions

View file

@ -33,13 +33,5 @@ with lib;
(mkIf (config.hwAccelerationGPU == "intel") intel-compute-runtime)
];
};
services.xserver.videoDrivers = mkIf (config.hwAccelerationGPU == "nvidia") [ "nvidia" ];
hardware.nvidia = mkIf (config.hwAccelerationGPU == "nvidia") {
modesetting.enable = true;
open = true;
package = config.boot.kernelPackages.nvidiaPackages.stable;
};
};
}

View file

@ -31,7 +31,7 @@ with lib;
shellInit = ''
set -g theme_color_scheme nord
if [ -z $DISPLAY ] && [ "$(tty)" = /dev/tty1 ]
exec sway ${unsupportedGPUFlag}
exec sway
end
'';
};