Files
nix-config/packages/steamdeck-bios-manager/default.nix
mjallen18 3b780d4d78 bruh
2026-01-05 23:31:06 -06:00

44 lines
1012 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
pciutils,
bash,
}:
stdenv.mkDerivation {
pname = "steamdeck-bios-manager";
version = "12b0139e3aabb21e559ab0a0c62a432523080bb9";
src = fetchFromGitHub {
owner = "ryanrudolfoba";
repo = "SteamDeck-BIOS-Manager";
rev = "12b0139e3aabb21e559ab0a0c62a432523080bb9";
sha256 = "sha256-Dw1r1UnmSVyrCMNRS79F99x8Vgb6KASN2gBegPbXnpk=";
};
# shell scripts — no compilation
dontBuild = true;
installPhase = ''
mkdir -p $out/bin
cp steamdeck-bios-manager.sh $out/bin/steamdeck-bios-manager
chmod +x $out/bin/steamdeck-bios-manager
'';
# runtime deps
nativeBuildInputs = [
pciutils
bash
];
meta = with lib; {
description = "Manage BIOS for the Steam Deck (unlock, flash, backup, block updates)";
homepage = "https://github.com/ryanrudolfoba/SteamDeck-BIOS-Manager";
license = licenses.agpl3Only;
platforms = platforms.linux;
maintainers = [ ];
sourceProvenance = with sourceTypes; [ ];
};
}