{ config, pkgs, ... }:

{ hardware.usbWwan.enable = true;
  hardware.firmware = with pkgs; [
    firmwareLinuxNonfree
  ];

  systemd.services.ModemManager.enable = true;

  hardware.pulseaudio.extraConfig = ''
    load-module module-alsa-sink device=hw:0,7
  '';

  # Try a different acceleration method; maybe it helps with screen corruption
  services.xserver.deviceSection = ''
    Option      "AccelMethod"  "uxa"
  '';

  environment.systemPackages = with pkgs; [
    nvme-cli
  ];

  imports = [
    ../hardware/intel-gpu.nix
    ../hardware/hidpi.nix
    ../hardware/thinkpad.nix
  ];
}