From 6991031aff6a2977b22d1b10e75349bfb08208c2 Mon Sep 17 00:00:00 2001 From: xinyangli Date: Wed, 15 Jan 2025 11:26:55 +0800 Subject: [PATCH] calcaite: change nvidia driver to latest Stable nvidia driver now defaults to production due to NixOS/nixpkgs#365454. It's way too old and causes suspend issue. Use latest instead. --- machines/calcite/configuration.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/machines/calcite/configuration.nix b/machines/calcite/configuration.nix index 810399c..1c792b3 100644 --- a/machines/calcite/configuration.nix +++ b/machines/calcite/configuration.nix @@ -33,6 +33,7 @@ in "nvidia_modeset" "nvidia_uvm" ]; + hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.latest; boot.supportedFilesystems = [ "ntfs" ]; boot.binfmt.emulatedSystems = [ "aarch64-linux" ]; @@ -189,6 +190,10 @@ in pkgs.gutenprintBin pkgs.canon-cups-ufr2 ]; + hardware.sane = { + enable = true; + extraBackends = [ pkgs.hplipWithPlugin ]; + }; hardware.pulseaudio.enable = false; security.rtkit.enable = true; @@ -211,6 +216,7 @@ in "wheel" "wireshark" "tss" + "scanner" ]; };