Reswitch from Nvidia drivers to Nouveau
This commit is contained in:
parent
33047d4473
commit
94cb745638
|
@ -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;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -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
|
||||
'';
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue