From bffc23a0cb8d3219c083d4d50d8d1977826419f0 Mon Sep 17 00:00:00 2001 From: Tao Tien <29749622+taotien@users.noreply.github.com> Date: Sat, 19 Oct 2024 23:26:32 -0700 Subject: [PATCH] update nvidia nixos-hw --- flake.nix | 3 ++- systems/NOcomputer.nix | 5 ----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/flake.nix b/flake.nix index 5a3ad4a..e4b5d3c 100644 --- a/flake.nix +++ b/flake.nix @@ -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 diff --git a/systems/NOcomputer.nix b/systems/NOcomputer.nix index d300066..ca8fd08 100644 --- a/systems/NOcomputer.nix +++ b/systems/NOcomputer.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";