Remove AMD p-state and power-profiles integration
This commit is contained in:
parent
8fbe09ab14
commit
0d09a74855
|
@ -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;
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue