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; });