summaryrefslogtreecommitdiff
path: root/config/hardware/default.nix
blob: 0dd85b38c33ae5dc9c3b49dc59ae802ba8d2b1e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{nixos-hardware, ...}: {
  imports = [
    # Include the results of the hardware scan.
    ./hardware-configuration.nix

    # Community-curated hardware configuration
    nixos-hardware.nixosModules.lenovo-thinkpad-x1-9th-gen # includes intel cpu and ssd
  ];

  personal.hardware = {
    usb.enable = false;
    disks.crypted = "/dev/disk/by-uuid/edfa1320-68eb-4439-bef0-226a83c05376";
    firmwareNonFree.enable = true;
    keyboard.keyMap = "fr";
    sound.enable = false;
  };
}