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