Remove AMD p-state and power-profiles integration

This commit is contained in:
coolneng 2024-08-12 02:46:32 +02:00
parent 8fbe09ab14
commit 0d09a74855
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
2 changed files with 0 additions and 8 deletions

View File

@ -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;

View File

@ -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"