mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-23 19:39:42 +01:00
18 lines
386 B
Nix
18 lines
386 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
|
|
# when there is an alternative (i.e. nouveau)
|
|
videoDrivers = [ "nvidia" ];
|
|
};
|
|
}
|