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

14 lines
216 B
Nix

{
pkgs,
lib,
config,
...
}: {
config = lib.mkIf config.alyraffauf.system.power-profiles-daemon.enable {
services = {
power-profiles-daemon.enable = true;
upower.enable = true;
};
};
}