Skip to content

Commit

Permalink
kernel-config: fix compressed firmware loading
Browse files Browse the repository at this point in the history
Since NixOS/nixpkgs#302300 is merged,
hardware.firmware are now compressed with zstd. On my oneplus-enchilada,
this is causing the WLAN interface disappearing. This PR fixes this by
copying the changes of kernel config from NixOS/nixpkgs#302300
  • Loading branch information
chuangzhu committed Jul 4, 2024
1 parent 655c883 commit e4bbbb4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion support/kernel-config/nixos.nix
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,8 @@ in
BINFMT_SCRIPT = whenAtLeast "3.10" yes;
BINFMT_MISC = option yes;
FW_LOADER_USER_HELPER_FALLBACK = option no;
FW_LOADER_COMPRESS = option yes;
FW_LOADER_COMPRESS = whenAtLeast "5.3" yes;
FW_LOADER_COMPRESS_ZSTD = whenAtLeast "5.19" yes;
PREEMPT = no;
PREEMPT_VOLUNTARY = yes;
SCHED_SMT = yes;
Expand Down

0 comments on commit e4bbbb4

Please sign in to comment.