mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 15:00:13 +01:00
feat: enable ppd/powertop for laptops
This commit is contained in:
parent
49b14c4002
commit
6e745c17a6
1 changed files with 3 additions and 3 deletions
|
|
@ -11,7 +11,7 @@ in {
|
||||||
home-manager = {
|
home-manager = {
|
||||||
users.${username} = {
|
users.${username} = {
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
reader
|
# reader
|
||||||
acpi
|
acpi
|
||||||
brightnessctl
|
brightnessctl
|
||||||
];
|
];
|
||||||
|
|
@ -32,7 +32,7 @@ in {
|
||||||
};
|
};
|
||||||
services = {
|
services = {
|
||||||
# thermald.enable = true; # Enable if on Intel, should be a if-statement.
|
# thermald.enable = true; # Enable if on Intel, should be a if-statement.
|
||||||
# power-profiles-daemon.enable = mkDefault true;
|
power-profiles-daemon.enable = true;
|
||||||
|
|
||||||
upower = {
|
upower = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
@ -42,7 +42,7 @@ in {
|
||||||
criticalPowerAction = "Hibernate";
|
criticalPowerAction = "Hibernate";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
# powerManagement.powertop.enable = true;
|
powerManagement.powertop.enable = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue