Skip to content

Commit

Permalink
Add ppd explicitlz
Browse files Browse the repository at this point in the history
  • Loading branch information
arunoruto committed Sep 20, 2024
1 parent 5f5a1d3 commit 7c6737f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
1 change: 1 addition & 0 deletions modules/nixos/services/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
./secrets.nix
./ssh.nix
./tlp.nix
./ppd.nix
];

davmail.enable = lib.mkDefault false;
Expand Down
9 changes: 6 additions & 3 deletions modules/nixos/services/ppd.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
# pkgs,
lib,
config,
...
Expand All @@ -10,8 +11,10 @@
'';

config = lib.mkIf config.ppd.enable {
services = {
power-profiles-daemon.enable = lib.mkDefault true;
powerManagement.powertop.enable = lib.mkDefault false;
services.power-profiles-daemon.enable = lib.mkDefault true;
powerManagement.powertop.enable = lib.mkDefault false;
# environment.systemPackages = with pkgs; [
# powertop
# ];
};
}

0 comments on commit 7c6737f

Please sign in to comment.