2017-12-24 12:13:25 +00:00
|
|
|
{ lib, pkgs, ... }:
|
2016-10-20 18:53:52 +00:00
|
|
|
|
|
|
|
{
|
2017-12-24 23:21:05 +00:00
|
|
|
imports = [
|
|
|
|
../.
|
|
|
|
../../../common/pc/laptop/ssd
|
|
|
|
];
|
2016-10-20 18:53:52 +00:00
|
|
|
|
2017-12-24 23:21:05 +00:00
|
|
|
# TODO: boot loader
|
2016-10-20 18:53:52 +00:00
|
|
|
boot.loader.systemd-boot.enable = true;
|
|
|
|
boot.loader.efi.canTouchEfiVariables = true;
|
|
|
|
|
2017-12-24 23:21:05 +00:00
|
|
|
# TODO: drop
|
2016-10-20 18:53:52 +00:00
|
|
|
hardware.opengl.driSupport32Bit = true;
|
|
|
|
|
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 18:53:52 +00:00
|
|
|
}
|