nix-config/config/support/physical.nix

21 lines
423 B
Nix
Raw Normal View History

# Configuration for actual physical machines
2024-07-26 22:12:48 +02:00
{
config,
minimal,
lib,
...
}:
{
hardware = lib.mkIf (!minimal) {
enableRedistributableFirmware = true;
enableAllFirmware = true;
};
services = {
2024-11-29 13:48:10 +01:00
# Enable if you're feeling very fwupd that day
#fwupd.enable = !minimal;
smartd.enable = !minimal;
2024-07-26 22:12:48 +02:00
thermald.enable = builtins.elem config.nixpkgs.hostPlatform.system [ "x86_64-linux" ];
};
}