From 610524402ca8edb6ed81c57cfcb6fa2db77e39a2 Mon Sep 17 00:00:00 2001 From: Raghuram Subramani Date: Mon, 20 May 2024 21:34:17 +0530 Subject: update --- modules/laptop.nix | 5 ----- modules/nvidia.nix | 4 ++-- modules/virtualization.nix | 4 ++++ 3 files changed, 6 insertions(+), 7 deletions(-) (limited to 'modules') diff --git a/modules/laptop.nix b/modules/laptop.nix index 3d6f00e..4dc9526 100644 --- a/modules/laptop.nix +++ b/modules/laptop.nix @@ -18,11 +18,6 @@ CPU_HWP_DYN_BOOST_ON_AC = 1; CPU_HWP_DYN_BOOST_ON_BAT = 0; - - CPU_MIN_PERF_ON_AC = 0; - CPU_MAX_PERF_ON_AC = 100; - CPU_MIN_PERF_ON_BAT = 0; - CPU_MAX_PERF_ON_BAT = 35; }; }; diff --git a/modules/nvidia.nix b/modules/nvidia.nix index 98dab8b..474b9ce 100644 --- a/modules/nvidia.nix +++ b/modules/nvidia.nix @@ -5,9 +5,9 @@ hardware.nvidia = { modesetting.enable = true; - powerManagement.enable = true; + powerManagement.enable = false; powerManagement.finegrained = true; - open = false; + open = true; nvidiaSettings = true; package = config.boot.kernelPackages.nvidiaPackages.production; diff --git a/modules/virtualization.nix b/modules/virtualization.nix index f3935c2..e0d9b88 100644 --- a/modules/virtualization.nix +++ b/modules/virtualization.nix @@ -11,6 +11,10 @@ }; }; spiceUSBRedirection.enable = true; + + docker = { + enable = true; + }; }; services.spice-vdagentd.enable = true; programs.virt-manager.enable = true; -- cgit v1.2.3