Skip to content

Commit

Permalink
overlay: only apply steamdeck firmware on steamdeck
Browse files Browse the repository at this point in the history
  • Loading branch information
K900 committed Sep 29, 2023
1 parent 23a0423 commit 1e0ee17
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 1e0ee17

Please sign in to comment.