(try to) fix bluetooth
This commit is contained in:
parent
04dcdc2003
commit
87c61c300c
1 changed files with 13 additions and 2 deletions
|
@ -47,9 +47,17 @@
|
||||||
};
|
};
|
||||||
tmp.cleanOnBoot = true;
|
tmp.cleanOnBoot = true;
|
||||||
kernelPackages = pkgs.linuxPackages_latest;
|
kernelPackages = pkgs.linuxPackages_latest;
|
||||||
|
|
||||||
|
# fix bluetooth
|
||||||
extraModulePackages = with config.boot.kernelPackages; [
|
extraModulePackages = with config.boot.kernelPackages; [
|
||||||
rtl8821ce
|
rtw88
|
||||||
];
|
];
|
||||||
|
# see https://bugzilla.kernel.org/show_bug.cgi?id=215496#c22
|
||||||
|
# and https://github.com/lwfinger/rtw88/issues/61
|
||||||
|
extraModprobeConfig = ''
|
||||||
|
options rtw88_core disable_lps_deep=y
|
||||||
|
options rtw88_pci disable_aspm=y
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
|
@ -67,7 +75,10 @@
|
||||||
networkmanager = {
|
networkmanager = {
|
||||||
enable = true;
|
enable = true;
|
||||||
dns = "none";
|
dns = "none";
|
||||||
wifi.backend = "iwd";
|
wifi = {
|
||||||
|
backend = "iwd";
|
||||||
|
powersave = false; # fixes bluetooth; see above
|
||||||
|
};
|
||||||
};
|
};
|
||||||
nameservers = [
|
nameservers = [
|
||||||
"31.59.129.225"
|
"31.59.129.225"
|
||||||
|
|
Loading…
Add table
Reference in a new issue