fix(sunshine.nix): update CUDA package and disable pulseaudio

- Updated `cudaPackages` to `pkgs.cudaPackages_12_3`
- Changed `boost` version from `pkgs.unstablePkgs.boost186` to `pkgs.boost186`
- Disabled `pulseaudio.enable` and removed redundant `sound.enable`
This commit is contained in:
Giulio De Pasquale 2024-11-18 19:58:12 +00:00
parent cc77cab961
commit 1630bfb8fb

View File

@ -30,7 +30,7 @@ let
executable = true;
destination = "/bin/resolution.sh";
};
sunshinePkg = (pkgs.localPkgs.sunshine.override { cudaSupport = true; cudaPackages = pkgs.cudaPackages; boost = pkgs.unstablePkgs.boost186; });
sunshinePkg = (pkgs.localPkgs.sunshine.override { cudaSupport = true; cudaPackages = pkgs.cudaPackages_12_3; boost = pkgs.boost186; });
in
{
boot.kernelModules = [ "uinput" ];
@ -38,7 +38,7 @@ in
environment.systemPackages = [ pkgs.unstablePkgs.gamemode ];
hardware = {
pulseaudio.enable = true;
pulseaudio.enable = false;
nvidia = {
modesetting.enable = true;
@ -203,8 +203,6 @@ in
};
};
sound.enable = true;
systemd.targets = {
sleep.enable = false;
suspend.enable = false;