all repos — nixfiles @ 86f8ba751f949a013a29e2a7f49c3d41c078318b

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

modules/t470s.nix (view raw)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{ 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
  '';

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