nix-config/config/hardware/physical.nix
2024-07-26 22:12:48 +02:00

15 lines
321 B
Nix

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