Skip to content

Commit

Permalink
Merge pull request #170 from Jovian-Experiments/scoped-linux-firmware…
Browse files Browse the repository at this point in the history
…-overlay

overlay: only apply steamdeck firmware on steamdeck
  • Loading branch information
K900 authored Sep 29, 2023
2 parents 23a0423 + 1e0ee17 commit f688958
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions modules/steamdeck/firmware.nix
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ in
};

config = mkMerge [
(mkIf (cfg.enable) {
nixpkgs.overlays = [
(_: prev: { linux-firmware = prev.linux-firmware-jupiter; })
];
})
(mkIf (cfg.autoUpdate) {
systemd.packages = [pkgs.steamdeck-firmware];

Expand Down
2 changes: 1 addition & 1 deletion overlay.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ let
;
in
rec {
linux-firmware = final.callPackage ./pkgs/linux-firmware {
linux-firmware-jupiter = final.callPackage ./pkgs/linux-firmware {
linux-firmware = super.linux-firmware;
};
linuxPackages_jovian = linuxPackagesFor final.linux_jovian;
Expand Down

0 comments on commit f688958

Please sign in to comment.