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

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

  personal.hardware = {
    usb.enable = false;
    disks.crypted = "/dev/disk/by-uuid/18b3e6f0-6ad5-471e-bdf4-e1710d99f13f";
    firmwareNonFree.enable = true;
    keyboard.keyMap = "fr";
    backlights = {
      screen = "intel_backlight";
      keyboard = "dell::kbd_backlight";
    };
    sound.enable = false;
  };
}