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)
|
(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 = ''
|
shellInit = ''
|
||||||
set -g theme_color_scheme nord
|
set -g theme_color_scheme nord
|
||||||
if [ -z $DISPLAY ] && [ "$(tty)" = /dev/tty1 ]
|
if [ -z $DISPLAY ] && [ "$(tty)" = /dev/tty1 ]
|
||||||
exec sway ${unsupportedGPUFlag}
|
exec sway
|
||||||
end
|
end
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue