From d5daa0f24954ccf218986e1e57f628262fc47a18 Mon Sep 17 00:00:00 2001 From: "quentin@aristote.fr" Date: Sun, 10 Nov 2024 19:52:09 +0100 Subject: initial commit --- config/hardware/default.nix | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 config/hardware/default.nix (limited to 'config/hardware/default.nix') 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; + }; +} -- cgit v1.2.3