From 98bb5e14cad4459ebed8697fabe0665efe07f469 Mon Sep 17 00:00:00 2001 From: K900 Date: Sat, 30 Sep 2023 11:04:56 +0300 Subject: [PATCH] steamdeck/firmware: add jupiter firmware to hardware.firmware instead of another overlay Overlays are unfortunately weirdly order dependent --- modules/steamdeck/firmware.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/modules/steamdeck/firmware.nix b/modules/steamdeck/firmware.nix index ec25a5e8..a260d1a5 100644 --- a/modules/steamdeck/firmware.nix +++ b/modules/steamdeck/firmware.nix @@ -35,9 +35,7 @@ in config = mkMerge [ (mkIf (cfg.enable) { - nixpkgs.overlays = [ - (_: prev: { linux-firmware = prev.linux-firmware-jupiter; }) - ]; + hardware.firmware = [(lib.hiPrio pkgs.linux-firmware-jupiter)]; }) (mkIf (cfg.autoUpdate) { systemd.packages = [pkgs.steamdeck-firmware];