forked from mirrors_public/oddlama_nix-config
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" ];
|
|
};
|
|
}
|