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"