mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-29 17:29:18 -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;
|
|
};
|
|
};
|
|
}
|