From 46ecec8239bb540f9031fde63e475905de77e5a1 Mon Sep 17 00:00:00 2001 From: "(cdep)illabout" Date: Thu, 3 Jan 2019 20:57:49 +0900 Subject: nixos/cpufreq: Remove the alias to set the cpu frequency governor This PR temporarily fixes the issue with PR 53041 as explained here: https://github.com/NixOS/nixpkgs/pull/53041#commitcomment-31825338 The alias `powerManagement.cpufreq.governor` to `powerManagement.cpuFreqGovernor` has been removed. --- nixos/modules/installer/tools/nixos-generate-config.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nixos/modules/installer') diff --git a/nixos/modules/installer/tools/nixos-generate-config.pl b/nixos/modules/installer/tools/nixos-generate-config.pl index fa01dc7bbaf0..52a129b39bcd 100644 --- a/nixos/modules/installer/tools/nixos-generate-config.pl +++ b/nixos/modules/installer/tools/nixos-generate-config.pl @@ -104,7 +104,7 @@ if (-e "/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors") { foreach $e (@desired_governors) { if (index($governors, $e) != -1) { - last if (push @attrs, "powerManagement.cpufreq.governor = lib.mkDefault \"$e\";"); + last if (push @attrs, "powerManagement.cpuFreqGovernor = lib.mkDefault \"$e\";"); } } } -- cgit 1.4.1