nixos-hardware/apple/macbook-pro/10-1/default.nix

22 lines
427 B
Nix
Raw Normal View History

{ lib, pkgs, ... }:
2016-10-20 18:53:52 +00:00
{
imports = [
../.
../../../common/pc/laptop/ssd
];
2016-10-20 18:53:52 +00:00
# TODO: boot loader
2016-10-20 18:53:52 +00:00
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
# TODO: reverse compat
2016-10-20 18:53:52 +00:00
hardware.opengl.driSupport32Bit = true;
services.xserver = {
# TODO: we should not enable unfree drivers
# when there is an alternative (i.e. nouveau)
videoDrivers = [ "nvidia" ];
};
2016-10-20 18:53:52 +00:00
}