nixos/machines/thinkman/hardware-configuration.nix
2023-03-19 14:42:42 +01:00

24 lines
473 B
Nix

{ config, lib, ... }:
let
cpuFlavor = "intel";
in
{
# video driver
boot.initrd.kernelModules = [ "i915" ];
# Special power management settings for ThinkPads
services.tlp.enable = true;
my.hardware = {
bluetooth.enable = true;
firmware = {
enable = true;
cpuFlavor = cpuFlavor;
};
graphics.cpuFlavor = cpuFlavor;
keychron.enable = true;
nitrokey.enable = true;
sound.enable = true;
thunderbolt.enable = true;
};
}