nixcfg/nixosModules/base/power-profiles-daemon/default.nix

15 lines
216 B
Nix
Raw Normal View History

2024-04-07 22:16:33 -04:00
{
config,
inputs,
lib,
pkgs,
2024-04-07 22:16:33 -04:00
...
}: {
config = lib.mkIf config.ar.base.power-profiles-daemon.enable {
services = {
power-profiles-daemon.enable = true;
upower.enable = true;
};
};
}