diff options
Diffstat (limited to 'config/hardware/default.nix')
| -rw-r--r-- | config/hardware/default.nix | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/config/hardware/default.nix b/config/hardware/default.nix new file mode 100644 index 0000000..a4f9ed3 --- /dev/null +++ b/config/hardware/default.nix @@ -0,0 +1,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; + }; +} |
