all repos — nixfiles @ 0f2c55992677e78d5d2908d0648e410ef9b27436

System and user configuration, managed by nix and home-manager

modules/machines/t470s.nix (view raw)

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
{ 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 = [
    ../hardware/intel-gpu.nix
    ../hardware/hidpi.nix
    ../hardware/thinkpad.nix
  ];
}