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:
parent
cc77cab961
commit
1630bfb8fb
@ -30,7 +30,7 @@ let
|
|||||||
executable = true;
|
executable = true;
|
||||||
destination = "/bin/resolution.sh";
|
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
|
in
|
||||||
{
|
{
|
||||||
boot.kernelModules = [ "uinput" ];
|
boot.kernelModules = [ "uinput" ];
|
||||||
@ -38,7 +38,7 @@ in
|
|||||||
environment.systemPackages = [ pkgs.unstablePkgs.gamemode ];
|
environment.systemPackages = [ pkgs.unstablePkgs.gamemode ];
|
||||||
|
|
||||||
hardware = {
|
hardware = {
|
||||||
pulseaudio.enable = true;
|
pulseaudio.enable = false;
|
||||||
|
|
||||||
nvidia = {
|
nvidia = {
|
||||||
modesetting.enable = true;
|
modesetting.enable = true;
|
||||||
@ -203,8 +203,6 @@ in
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
sound.enable = true;
|
|
||||||
|
|
||||||
systemd.targets = {
|
systemd.targets = {
|
||||||
sleep.enable = false;
|
sleep.enable = false;
|
||||||
suspend.enable = false;
|
suspend.enable = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user