1
1
Fork 1
mirror of https://github.com/oddlama/nix-config.git synced 2025-10-10 23:00:39 +02:00
oddlama_nix-config/config/hardware/physical.nix
2024-11-29 14:05:01 +01:00

18 lines
338 B
Nix

# Configuration for actual physical machines
{
config,
lib,
minimal,
...
}:
{
hardware = {
enableRedistributableFirmware = true;
enableAllFirmware = true;
};
services = lib.mkIf (!minimal) {
smartd.enable = true;
thermald.enable = builtins.elem config.nixpkgs.hostPlatform.system [ "x86_64-linux" ];
};
}