services.tuned.recommend
NixOS option
TuneD rules for recommend_profile, written to /etc/tuned/recommend.conf. At startup, the daemon evaluates the file in alphabetical order. The first matching entry is applied. Empty profile rules always match. If services.tuned.ppdSupport is true, settings in services.tuned.ppdSettings take precedence over both the default behaviour and services.tuned.recommend. For example: services.tuned.ppdSettings.main.default = "performance"; ensures the corresponding PPD profile is applied regardless of services.tuned.recommend setting. If ppdSupport is false, only services.tuned.recommend is used; if recommend is empty, TuneD’s default behaviour applies. See tuned-main.conf(5) for more details.
type: attribute set of section of an INI file (attrs of INI atom (null, bool, int, float or string))Default
{ }Example
declared in: nixos/modules/services/hardware/tuned.nixView source on NixOS/nixpkgs →# Enable `virtual-guest` profile for VM guests
virtual-guest = {
virt = ".+";
};
# Default to the `desktop` profile for all other systems
desktop = { };