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.
This commit is contained in:
xinyangli 2025-01-15 11:26:55 +08:00
parent 9f56d22b1d
commit 6991031aff
Signed by: xin
SSH key fingerprint: SHA256:UU5pRTl7NiLFJbWJZa+snLylZSXIz5rgHmwjzv8v4oE

View file

@ -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"
];
};