Skip to content

Commit

Permalink
fix(nixos/alpha): work around game freezes
Browse files Browse the repository at this point in the history
Seems like the new NVIDIA 560 driver causes games running through Proton to
eventually freeze. Downgrading for now.
  • Loading branch information
dixslyf committed Sep 5, 2024
1 parent 0854741 commit 952d3b2
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion nixos/hosts/alpha/hardware/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{ pkgs
{ config
, pkgs
, modulesPath
, ...
}: {
Expand Down Expand Up @@ -107,6 +108,14 @@
nvidia = {
# Must be set explicitly since https://github.com/NixOS/nixpkgs/commit/20c5d0adfb4cd7a06b7c1251cb0852f404d93e59
open = false;
package = config.boot.kernelPackages.nvidiaPackages.mkDriver {
version = "555.58.02";
sha256_64bit = "sha256-xctt4TPRlOJ6r5S54h5W6PT6/3Zy2R4ASNFPu8TSHKM=";
sha256_aarch64 = "sha256-wb20isMrRg8PeQBU96lWJzBMkjfySAUaqt4EgZnhyF8=";
openSha256 = "sha256-8hyRiGB+m2hL3c9MDA/Pon+Xl6E788MZ50WrrAGUVuY=";
settingsSha256 = "sha256-ZpuVZybW6CFN/gz9rx+UJvQ715FZnAOYfHn5jt5Z2C8=";
persistencedSha256 = "sha256-a1D7ZZmcKFWfPjjH1REqPM5j/YLWKnbkP9qfRyIyxAw=";
};
modesetting.enable = true;
# Set up nvidia prime
prime = {
Expand Down

0 comments on commit 952d3b2

Please sign in to comment.