git.iko.soy/typeable/nixpkgs
on master help sign in
cpufreq: Fix "sh: modprobe: command not found"
commitc726773f26373381331d32ed3521290c288438fc authorEelco Dolstra <eelco.dolstra@logicblox.com> dateTue 24 May 2016, 21:36 (11 years ago) parentc99608c
1 file changed+1−1
nixos/modules/tasks/cpu-freq.nix+1−1
nixos/modules/tasks/cpu-freq.nix+1−1
@@ -38,7 +38,7 @@ in
3838 description = "CPU Frequency Governor Setup";
3939 after = [ "systemd-modules-load.service" ];
4040 wantedBy = [ "multi-user.target" ];
41− path = [ cpupower ];
41+ path = [ cpupower config.system.sbin.modprobe ];
4242 unitConfig.ConditionVirtualization = false;
4343 serviceConfig = {
4444 Type = "oneshot";