summaryrefslogtreecommitdiffstats
path: root/apple/macbook-pro/10-1/default.nix
blob: 0fa8a2f4bc2e75f0a424667d2559db0049ae4162 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{ lib, pkgs, ... }:

{
  imports = [ ../../. ];

  boot.loader.systemd-boot.enable = true;
  boot.loader.efi.canTouchEfiVariables = true;

  hardware.opengl.driSupport32Bit = true;

  services.xserver = {
    libinput.enable = lib.mkDefault true;

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