From c9cd277f234c451f924730f64ef2f21139cc7ae6 Mon Sep 17 00:00:00 2001 From: Filippo Berto Date: Sat, 20 Jul 2024 13:58:23 +0200 Subject: [PATCH] Thor: newer nvidia driver --- instances/thor/configuration.nix | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/instances/thor/configuration.nix b/instances/thor/configuration.nix index 384067f..8d67bf6 100644 --- a/instances/thor/configuration.nix +++ b/instances/thor/configuration.nix @@ -46,6 +46,22 @@ }; hardware = { + + nvidia = { + # modesetting.enable = true; + nvidiaSettings = true; + package = config.boot.kernelPackages.nvidiaPackages.mkDriver { + version = "555.58.02"; + + sha256_64bit = "sha256-xctt4TPRlOJ6r5S54h5W6PT6/3Zy2R4ASNFPu8TSHKM="; + sha256_aarch64 = lib.fakeSha256; + openSha256 = lib.fakeSha256; + settingsSha256 = "sha256-ZpuVZybW6CFN/gz9rx+UJvQ715FZnAOYfHn5jt5Z2C8="; + persistencedSha256 = lib.fakeSha256; + }; + }; + + opengl.enable = true; bluetooth = { enable = true; @@ -53,7 +69,6 @@ }; enableRedistributableFirmware = true; pulseaudio.enable = false; - # nvidia.modesetting.enable = true; opentabletdriver = { enable = true; daemon.enable = true; }; };