Compare commits

..

2 Commits

Author SHA1 Message Date
coolneng cde20f895a
Add workaround to prevent WiFi disconnects 2022-04-27 09:53:34 +02:00
coolneng 13c454491e
Bump dependencies 2022-04-27 09:53:25 +02:00
2 changed files with 8 additions and 5 deletions

View File

@ -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 = [

View File

@ -38,11 +38,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1650701402,
"narHash": "sha256-XKfstdtqDg+O+gNBx1yGVKWIhLgfEDg/e2lvJSsp9vU=",
"lastModified": 1650831523,
"narHash": "sha256-6pDZ08SAXsUx5rOP391x+TG39ENP/XA8VMa1tQvgEjc=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "bc41b01dd7a9fdffd32d9b03806798797532a5fe",
"rev": "87d34a6b8982e901b8e50096b8e79ebc0e66cda0",
"type": "github"
},
"original": {