From d73befc2eea3d9bcbd6b4520fdda19381e00c9a0 Mon Sep 17 00:00:00 2001 From: Giulio De Pasquale Date: Tue, 14 May 2024 17:06:11 +0100 Subject: [PATCH] sunshine: use upstream --- hosts/architect/sunshine.nix | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/hosts/architect/sunshine.nix b/hosts/architect/sunshine.nix index a7cc182..89d3d3d 100644 --- a/hosts/architect/sunshine.nix +++ b/hosts/architect/sunshine.nix @@ -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" ];