parent
21ee42747b
commit
c2e20a3d52
1 changed files with 2 additions and 13 deletions
|
@ -47,17 +47,9 @@
|
||||||
};
|
};
|
||||||
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; [
|
||||||
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 = {
|
networking = {
|
||||||
|
@ -75,10 +67,7 @@
|
||||||
networkmanager = {
|
networkmanager = {
|
||||||
enable = true;
|
enable = true;
|
||||||
dns = "none";
|
dns = "none";
|
||||||
wifi = {
|
wifi.backend = "iwd";
|
||||||
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