parent
21ee42747b
commit
c2e20a3d52
1 changed files with 2 additions and 13 deletions
|
@ -47,17 +47,9 @@
|
|||
};
|
||||
tmp.cleanOnBoot = true;
|
||||
kernelPackages = pkgs.linuxPackages_latest;
|
||||
|
||||
# fix bluetooth
|
||||
extraModulePackages = with config.boot.kernelPackages; [
|
||||
rtw88
|
||||
rtl8821ce
|
||||
];
|
||||
# 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 = {
|
||||
|
@ -75,10 +67,7 @@
|
|||
networkmanager = {
|
||||
enable = true;
|
||||
dns = "none";
|
||||
wifi = {
|
||||
backend = "iwd";
|
||||
powersave = false; # fixes bluetooth; see above
|
||||
};
|
||||
wifi.backend = "iwd";
|
||||
};
|
||||
nameservers = [
|
||||
"31.59.129.225"
|
||||
|
|
Loading…
Add table
Reference in a new issue