From 0d09a74855210adb660c0977bb652f2fe83b3e59 Mon Sep 17 00:00:00 2001 From: coolneng Date: Mon, 12 Aug 2024 02:46:32 +0200 Subject: [PATCH] Remove AMD p-state and power-profiles integration --- flake.nix | 5 ----- modules/power.nix | 3 --- 2 files changed, 8 deletions(-) diff --git a/flake.nix b/flake.nix index fd95b6e..4a5ac2a 100644 --- a/flake.nix +++ b/flake.nix @@ -32,10 +32,6 @@ url = "github:nix-community/lanzaboote/v0.3.0"; inputs.nixpkgs.follows = "nixpkgs"; }; - pp-to-amd-epp = { - url = "github:marcinx64/pp-to-amd-epp"; - inputs.nixpkgs.follows = "nixpkgs"; - }; local-bitwig = { url = "path:/home/coolneng/Projects/panacea/assets/bitwig"; flake = false; @@ -69,7 +65,6 @@ inputs.agenix.nixosModules.age inputs.nix-index-database.nixosModules.nix-index inputs.lanzaboote.nixosModules.lanzaboote - inputs.pp-to-amd-epp.nixosModules.pp-to-amd-epp ]; specialArgs = { inherit inputs; diff --git a/modules/power.nix b/modules/power.nix index 2bcfaec..5d8e0a4 100644 --- a/modules/power.nix +++ b/modules/power.nix @@ -4,9 +4,6 @@ # Enable power-profiles-daemon services.power-profiles-daemon.enable = true; - # Integration of AMD P-State EPP with power-profiles-daemon - services.pp-to-amd-epp.enable = true; - # Suspend when the battery is critical services.udev.extraRules = '' SUBSYSTEM=="power_supply", ATTR{status}=="Discharging", ATTR{model_name}=="01AV405", ATTR{capacity}=="[0-5]", RUN+="${config.systemd.package}/bin/systemctl suspend -i"