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}\""}]
|
||||
'';
|
||||
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];
|
||||
});
|
||||
in
|
||||
sunshinePkg = (pkgs.unstablePkgs.sunshine.override { cudaSupport = true; });
|
||||
in
|
||||
{
|
||||
boot.kernelModules = [ "uinput" ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user