From ccb1899da3559b1be7d0d5be8b93c27e167f1c15 Mon Sep 17 00:00:00 2001 From: Dmitry Chumak Date: Thu, 25 Jul 2024 23:37:35 +0300 Subject: [PATCH] powermanagement attempts --- configuration.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configuration.nix b/configuration.nix index 1ded6a8..95f4eb8 100644 --- a/configuration.nix +++ b/configuration.nix @@ -16,6 +16,7 @@ boot.loader.efi.canTouchEfiVariables = true; boot.kernelPackages = pkgs.linuxPackages_6_8; + boot.kernelParams = ["amd_pstate=active"]; boot.supportedFilesystems = ["ntfs"]; networking.hostName = "nixos"; # Define your hostname. @@ -91,6 +92,8 @@ #media-session.enable = true; }; + services.cpupower-gui.enable = true; + # Enable touchpad support (enabled default in most desktopManager). # services.xserver.libinput.enable = true;