forked from mirrors/nixpkgs
cpufreq: Fix "sh: modprobe: command not found"
This commit is contained in:
parent
c99608c638
commit
c726773f26
|
@ -38,7 +38,7 @@ in
|
||||||
description = "CPU Frequency Governor Setup";
|
description = "CPU Frequency Governor Setup";
|
||||||
after = [ "systemd-modules-load.service" ];
|
after = [ "systemd-modules-load.service" ];
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
path = [ cpupower ];
|
path = [ cpupower config.system.sbin.modprobe ];
|
||||||
unitConfig.ConditionVirtualization = false;
|
unitConfig.ConditionVirtualization = false;
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
Type = "oneshot";
|
Type = "oneshot";
|
||||||
|
|
Loading…
Reference in a new issue