Add resume commands for fixing foxtrot wifi

This commit is contained in:
Daniel Flanagan 2024-03-29 10:14:41 -05:00
parent e1145f734c
commit f1ed65d50c
2 changed files with 5 additions and 0 deletions

View file

@ -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
''; '';

View file

@ -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;