mirror of
https://github.com/oddlama/nix-config.git
synced 2025-10-10 23:00:39 +02:00
18 lines
338 B
Nix
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" ];
|
|
};
|
|
}
|