summary refs log tree commit diff stats
path: root/modules/t470s.nix
blob: 394df7739d089ccf2922a54dcc292ac887742f96 (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
{ config, pkgs, ... }:

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

  boot.blacklistedKernelModules = [ "thinkpad_acpi" ];

  systemd.services.ModemManager.enable = true;

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

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

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