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