2024-06-21 20:44:42 +07:00
|
|
|
{ lib, ... }:
|
|
|
|
|
2016-10-20 14:53:52 -04:00
|
|
|
{
|
2017-12-24 23:21:05 +00:00
|
|
|
imports = [
|
|
|
|
../.
|
|
|
|
../../../common/pc/laptop/ssd
|
2024-06-21 23:26:44 +02:00
|
|
|
../../../common/gpu/24.05-compat.nix
|
2024-09-04 11:38:04 -06:00
|
|
|
../../../common/gpu/nvidia/kepler
|
2017-12-24 23:21:05 +00:00
|
|
|
];
|
2016-10-20 14:53:52 -04:00
|
|
|
|
2017-12-25 21:26:29 +00:00
|
|
|
# TODO: reverse compat
|
2024-06-21 20:44:42 +07:00
|
|
|
hardware.graphics.enable32Bit = lib.mkDefault true;
|
2016-10-20 14:53:52 -04:00
|
|
|
|
2017-12-24 12:13:25 +00:00
|
|
|
services.xserver = {
|
|
|
|
# TODO: we should not enable unfree drivers
|
2017-12-24 14:19:38 +00:00
|
|
|
# when there is an alternative (i.e. nouveau)
|
2017-12-24 12:13:25 +00:00
|
|
|
videoDrivers = [ "nvidia" ];
|
|
|
|
};
|
2016-10-20 14:53:52 -04:00
|
|
|
}
|