From 66bc91c89daf8a14769e1f403004578463578138 Mon Sep 17 00:00:00 2001 From: Adam Stephens Date: Mon, 5 Feb 2024 09:09:25 -0500 Subject: [PATCH] fix: bump ath11k firmware due to potential suspend issues --- module.nix | 27 +++++++++++++++++++++------ 1 file changed, 21 insertions(+), 6 deletions(-) diff --git a/module.nix b/module.nix index b426143..a63943c 100644 --- a/module.nix +++ b/module.nix @@ -94,13 +94,28 @@ in }; nixpkgs.overlays = [ - (final: super: { + (_: super: { + linux-firmware = + let + source = { + revision = "5217b76bed90ae86d5f3fe9a5f4e2301868cdd02"; + sourceHash = "sha256-Te5AioCoN2LuUwxuxjoarpihaZQ1uO/FRfVrkNVGwEQ="; + outputHash = "sha256-F1f4gcGU3ATnDEFoHipS25qqBD8XsKfrCDzaFbNWgXI="; + }; + in + super.linux-firmware.overrideAttrs ( + _: { + version = "20240205-unstable"; + src = pkgs.fetchzip { + url = "https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/snapshot/linux-firmware-${source.revision}.tar.gz"; + hash = source.sourceHash; + }; + outputHash = source.outputHash; + } + ); + # don't try and use zfs - zfs = super.zfs.overrideAttrs ( - _: { - meta.platforms = [ ]; - } - ); + zfs = super.zfs.overrideAttrs (_: { meta.platforms = [ ]; }); # allow missing modules makeModulesClosure = x: super.makeModulesClosure (x // { allowMissing = true; });