nixos/powertop: wait for hardware to initialize
We should wait until after `multi-user.target` is triggered to allow hardware to finish initializing, such as network devices and USB drives. This ensures `powertop --auto-tune` sets more tunables to "Good". Fixes #66820
This commit is contained in:
parent
f1568223c9
commit
90b6823373
|
@ -15,6 +15,7 @@ in {
|
||||||
systemd.services = {
|
systemd.services = {
|
||||||
powertop = {
|
powertop = {
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
|
after = [ "multi-user.target" ];
|
||||||
description = "Powertop tunings";
|
description = "Powertop tunings";
|
||||||
path = [ pkgs.kmod ];
|
path = [ pkgs.kmod ];
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
|
|
Loading…
Reference in New Issue