nixos/machines/thinkman/hardware-configuration.nix

30 lines
580 B
Nix
Raw Normal View History

2023-11-07 22:00:00 +01:00
{ ... }:
2023-03-19 14:42:42 +01:00
let
cpuFlavor = "intel";
in
2020-11-16 21:14:46 +01:00
{
# video driver
boot.initrd.kernelModules = [ "i915" ];
2020-11-16 21:14:46 +01:00
# Special power management settings for ThinkPads
services.tlp.enable = true;
2022-11-30 14:52:47 +01:00
my.hardware = {
2023-03-19 14:27:51 +01:00
bluetooth.enable = true;
2023-03-19 16:01:30 +01:00
debug.enable = true;
drive-monitor = {
enable = true;
OnFailureMail = "server@buehler.rocks";
};
2023-03-19 14:42:42 +01:00
firmware = {
enable = true;
cpuFlavor = cpuFlavor;
};
graphics.cpuFlavor = cpuFlavor;
keychron.enable = true;
2022-11-30 14:54:05 +01:00
sound.enable = true;
2023-01-08 00:46:09 +01:00
thunderbolt.enable = true;
2023-04-02 16:37:30 +02:00
yubikey.enable = true;
2022-11-30 14:52:47 +01:00
};
2020-11-16 21:14:46 +01:00
}