2017-12-24 07:13:25 -05:00
|
|
|
{ lib, pkgs, ... }:
|
2016-10-20 14:53:52 -04:00
|
|
|
|
|
|
|
{
|
2017-12-24 18:21:05 -05:00
|
|
|
imports = [
|
|
|
|
../.
|
|
|
|
../../../common/pc/laptop/ssd
|
|
|
|
];
|
2016-10-20 14:53:52 -04:00
|
|
|
|
2017-12-24 18:21:05 -05:00
|
|
|
# TODO: boot loader
|
2016-10-20 14:53:52 -04:00
|
|
|
boot.loader.systemd-boot.enable = true;
|
|
|
|
boot.loader.efi.canTouchEfiVariables = true;
|
|
|
|
|
2017-12-25 16:26:29 -05:00
|
|
|
# TODO: reverse compat
|
2016-10-20 14:53:52 -04:00
|
|
|
hardware.opengl.driSupport32Bit = true;
|
|
|
|
|
2017-12-24 07:13:25 -05:00
|
|
|
services.xserver = {
|
|
|
|
# TODO: we should not enable unfree drivers
|
2017-12-24 09:19:38 -05:00
|
|
|
# when there is an alternative (i.e. nouveau)
|
2017-12-24 07:13:25 -05:00
|
|
|
videoDrivers = [ "nvidia" ];
|
|
|
|
};
|
2016-10-20 14:53:52 -04:00
|
|
|
}
|