diff --git a/modules/nixos/services/default.nix b/modules/nixos/services/default.nix index f0ffcb5..16b8fdb 100644 --- a/modules/nixos/services/default.nix +++ b/modules/nixos/services/default.nix @@ -15,6 +15,7 @@ ./secrets.nix ./ssh.nix ./tlp.nix + ./ppd.nix ]; davmail.enable = lib.mkDefault false; diff --git a/modules/nixos/services/ppd.nix b/modules/nixos/services/ppd.nix index 6c0a27f..2443cb9 100644 --- a/modules/nixos/services/ppd.nix +++ b/modules/nixos/services/ppd.nix @@ -1,4 +1,5 @@ { + # pkgs, lib, config, ... @@ -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 + # ]; }; }