sunshine: use upstream

This commit is contained in:
Giulio De Pasquale 2024-05-14 17:06:11 +01:00
parent 8795b45fb1
commit d73befc2ee

View File

@ -51,19 +51,7 @@ let
global_prep_cmd=[{"do":"${pkgs.bash}/bin/bash -c \"${resolutionScript}/bin/resolution.sh ''${SUNSHINE_CLIENT_WIDTH} ''${SUNSHINE_CLIENT_HEIGHT} ''${SUNSHINE_CLIENT_FPS}\""}]
'';
sunshinePkg = (pkgs.unstablePkgs.sunshine.override { cudaSupport = true; }).overrideAttrs (old: {
version = "0.22.2-fix";
src = pkgs.fetchFromGitHub {
owner = "gschintgen";
repo = "Sunshine";
rev = "985561c5cfe0934662a90f9b6c406e3f3e981d59";
sha256 = "sha256-APfwDkVG1uYvfqxNjNxGEofDd4H0QAk5fzAKG6IW+CI=";
fetchSubmodules = true;
};
patches = [./sunshine-ui.patch];
buildInputs = old.buildInputs ++ [pkgs.python311];
});
sunshinePkg = (pkgs.unstablePkgs.sunshine.override { cudaSupport = true; });
in
{
boot.kernelModules = [ "uinput" ];