about summary refs log tree commit diff
path: root/modules/nixos-hardware/apple/macbook-pro/10-1/default.nix
blob: e029ef21ecac0e8e01e46fbf445ab5afb060ac7c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ lib, pkgs, ... }:

{
  imports = [
    ../.
    ../../../common/pc/laptop/ssd
  ];

  # TODO: boot loader
  boot.loader.systemd-boot.enable = true;
  boot.loader.efi.canTouchEfiVariables = true;

  # TODO: reverse compat
  hardware.opengl.driSupport32Bit = true;

  services.xserver = {
    # TODO: we should not enable unfree drivers
    # when there is an alternative (i.e. nouveau)
    videoDrivers = [ "nvidia" ];
  };
}