diff --git a/hosts/modules/hal/samsung/default.nix b/hosts/modules/hal/samsung/default.nix index 6d4ab772..47380e00 100644 --- a/hosts/modules/hal/samsung/default.nix +++ b/hosts/modules/hal/samsung/default.nix @@ -87,6 +87,13 @@ in boot.initrd.compressor = "gzip"; # boot.initrd.compressorArgs = [ "--ultra" "-22" ]; + hardware.firmware = [ + (pkgs.linux-firmware.overrideAttrs (_: { + # mwifiex_sdio seems to require uncompressed firmware (even with a kernel configured for CONFIG_MODULE_COMPRESS_ZSTD=y) + passthru.compressFirmware = false; + })) + ]; + boot.initrd.availableKernelModules = [ # boot.initrd.kernelModules = [ # from postmarketOS diff --git a/pkgs/additional/linux-postmarketos-exynos5/default.nix b/pkgs/additional/linux-postmarketos-exynos5/default.nix index 31e7f881..a795b0da 100644 --- a/pkgs/additional/linux-postmarketos-exynos5/default.nix +++ b/pkgs/additional/linux-postmarketos-exynos5/default.nix @@ -58,8 +58,10 @@ let # # Extra nixpkgs-specific options # nixos/modules/system/boot/systemd.nix wants CONFIG_DMIID + # nixos/modules/services/hardware/udev.nix wants CONFIG_MODULE_COMPRESS_ZSTD # CONFIG_DMIID=y + CONFIG_MODULE_COMPRESS_ZSTD=y # # Extra sane-specific options