mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-12-01 13:59:17 -05:00
15 lines
224 B
Nix
15 lines
224 B
Nix
{
|
|
config,
|
|
inputs,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}: {
|
|
config = lib.mkIf config.alyraffauf.base.power-profiles-daemon.enable {
|
|
services = {
|
|
power-profiles-daemon.enable = true;
|
|
upower.enable = true;
|
|
};
|
|
};
|
|
}
|