7 lines
284 B
Nix
7 lines
284 B
Nix
{ config, lib, ... }:
|
|
{
|
|
systemd.tmpfiles.rules = [
|
|
lib.optionalString config.my.amd.boost.disable "w /sys/devices/system/cpu/cpufreq/boost - - - - 0"
|
|
"w /sys/devices/system/cpu/cpu*/cpufreq/energy_performance_preference - - - - ${config.my.amd.performancePreference}"
|
|
];
|
|
} |