summaryrefslogtreecommitdiff
path: root/nixos/hardware/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/hardware/default.nix')
-rw-r--r--nixos/hardware/default.nix9
1 files changed, 5 insertions, 4 deletions
diff --git a/nixos/hardware/default.nix b/nixos/hardware/default.nix
index 0e8dc15..9c0fa3a 100644
--- a/nixos/hardware/default.nix
+++ b/nixos/hardware/default.nix
@@ -5,13 +5,14 @@
./hardware-configuration.nix
# Community-curated hardware configuration
- nixos-hardware.nixosModules.dell-latitude-7490
+ nixos-hardware.nixosModules.common-cpu-intel
+ nixos-hardware.nixosModules.common-pc-laptop
nixos-hardware.nixosModules.common-pc-ssd
];
personal.hardware = {
usb.enable = true;
- disks.crypted = "/dev/disk/by-uuid/ba5dc9cd-3a73-4a01-880b-8720844307ae";
+ disks.crypted = "/dev/disk/by-uuid/10aefeb6-e479-43cb-9848-53bd788a77ee";
firmwareNonFree.enable = true;
keyboard.keyMap = "fr";
backlights = {
@@ -21,6 +22,6 @@
sound.enable = true;
};
- # faulty Intel CPU
- boot.kernelParams = [ "i915.dc_enable=0" "intel_idle.max_cstate=1" ];
+ # https://wiki.archlinux.org/title/Dell_Latitude_7280
+ boot.kernelParams = [ "intel_idle.max_cstate=4" ];
}