nixos-hardware/apple/macbook-pro/10-1/default.nix
2017-12-24 12:17:37 +00:00

17 lines
335 B
Nix

{ 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
videoDrivers = [ "nvidia" ];
};
}