sunshine: use upstream
This commit is contained in:
parent
8795b45fb1
commit
d73befc2ee
@ -51,20 +51,8 @@ let
|
|||||||
|
|
||||||
global_prep_cmd=[{"do":"${pkgs.bash}/bin/bash -c \"${resolutionScript}/bin/resolution.sh ''${SUNSHINE_CLIENT_WIDTH} ''${SUNSHINE_CLIENT_HEIGHT} ''${SUNSHINE_CLIENT_FPS}\""}]
|
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: {
|
sunshinePkg = (pkgs.unstablePkgs.sunshine.override { cudaSupport = true; });
|
||||||
version = "0.22.2-fix";
|
in
|
||||||
src = pkgs.fetchFromGitHub {
|
|
||||||
owner = "gschintgen";
|
|
||||||
repo = "Sunshine";
|
|
||||||
rev = "985561c5cfe0934662a90f9b6c406e3f3e981d59";
|
|
||||||
sha256 = "sha256-APfwDkVG1uYvfqxNjNxGEofDd4H0QAk5fzAKG6IW+CI=";
|
|
||||||
fetchSubmodules = true;
|
|
||||||
};
|
|
||||||
patches = [./sunshine-ui.patch];
|
|
||||||
|
|
||||||
buildInputs = old.buildInputs ++ [pkgs.python311];
|
|
||||||
});
|
|
||||||
in
|
|
||||||
{
|
{
|
||||||
boot.kernelModules = [ "uinput" ];
|
boot.kernelModules = [ "uinput" ];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user