Add workaround to prevent WiFi disconnects
This commit is contained in:
parent
13c454491e
commit
cde20f895a
|
@ -104,7 +104,7 @@ in {
|
|||
identityPaths = [ "/etc/ssh/id_ed25519" ];
|
||||
};
|
||||
|
||||
# Enable internal microphone when headphones are plugged in
|
||||
# Enable internal microphone when headphones are plugged in and add workaround for frequent WiFi disconnects
|
||||
hardware.firmware = [
|
||||
(writeTextDir "/lib/firmware/hda-jack-retask.fw" ''
|
||||
[codec]
|
||||
|
@ -124,7 +124,10 @@ in {
|
|||
0x1e 0x411111f0
|
||||
'')
|
||||
];
|
||||
boot.extraModprobeConfig = "options snd-hda-intel patch=hda-jack-retask.fw";
|
||||
boot.extraModprobeConfig = ''
|
||||
options snd-hda-intel patch=hda-jack-retask.fw
|
||||
options mac80211 beacon_loss_count=1000 probe_wait_ms=75
|
||||
'';
|
||||
|
||||
# Import other configuration modules
|
||||
imports = [
|
||||
|
|
Loading…
Reference in New Issue