Add resume commands for fixing foxtrot wifi
This commit is contained in:
parent
e1145f734c
commit
f1ed65d50c
2 changed files with 5 additions and 0 deletions
|
@ -196,6 +196,7 @@ in {
|
||||||
extraHosts = ''
|
extraHosts = ''
|
||||||
::1 host.docker.internal
|
::1 host.docker.internal
|
||||||
127.0.0.1 host.docker.internal
|
127.0.0.1 host.docker.internal
|
||||||
|
|
||||||
::1 host.containers.internal
|
::1 host.containers.internal
|
||||||
127.0.0.1 host.containers.internal
|
127.0.0.1 host.containers.internal
|
||||||
'';
|
'';
|
||||||
|
|
|
@ -189,6 +189,10 @@ in {
|
||||||
powerOnBoot = false;
|
powerOnBoot = false;
|
||||||
};
|
};
|
||||||
powerManagement.cpuFreqGovernor = "ondemand";
|
powerManagement.cpuFreqGovernor = "ondemand";
|
||||||
|
powerManagement.resumeCommands = ''
|
||||||
|
modprobe -rv mt7921e
|
||||||
|
modprobe -v mt7921e
|
||||||
|
'';
|
||||||
|
|
||||||
services.power-profiles-daemon = {
|
services.power-profiles-daemon = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
Loading…
Reference in a new issue