summary refs log tree commit diff stats
path: root/modules/t470s.nix
blob: 34d7f9e3828b353e5abd22c944fb6304badaeec0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{ 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
  ];
}