update nvidia nixos-hw
This commit is contained in:
parent
8d14b8aaa9
commit
bffc23a0cb
2 changed files with 2 additions and 6 deletions
|
|
@ -74,7 +74,8 @@
|
|||
disko.nixosModules.disko
|
||||
nixos-hardware.nixosModules.common-cpu-amd
|
||||
nixos-hardware.nixosModules.common-cpu-amd-pstate
|
||||
nixos-hardware.nixosModules.common-gpu-nvidia-nonprime
|
||||
nixos-hardware.nixosModules.common-gpu-nvidia-nvidia
|
||||
# nixos-hardware.common.gpu.nvidia.ampere
|
||||
agenix.nixosModules.default
|
||||
home-manager.nixosModules.home-manager
|
||||
./systems/BASED.nix
|
||||
|
|
|
|||
|
|
@ -29,16 +29,11 @@
|
|||
|
||||
hardware.nvidia = {
|
||||
powerManagement.enable = false;
|
||||
powerManagement.finegrained = false;
|
||||
# options: production, beta, vulkan_beta, latest
|
||||
package = config.boot.kernelPackages.nvidiaPackages.latest;
|
||||
open = true;
|
||||
nvidiaSettings = false;
|
||||
};
|
||||
# enable core and mem freq sliders for nvidia
|
||||
services.xserver.deviceSection = ''
|
||||
Option "Coolbits" "8"
|
||||
'';
|
||||
systemd.services.nvpl = {
|
||||
description = "Increase GPU power limit to 400w";
|
||||
script = "/run/current-system/sw/bin/nvidia-smi -pl=400";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue