summary refs log tree commit diff stats
path: root/modules/machines/t470s.nix
blob: 30d304e558a42a38f1f49cc44a74e915093d2469 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{ 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
  ];
}