15 lines
212 B
Nix
15 lines
212 B
Nix
|
{
|
||
|
lib,
|
||
|
config,
|
||
|
...
|
||
|
}: {
|
||
|
config = lib.mkIf config.local.profiles.laptop.enable {
|
||
|
services = {
|
||
|
power-profiles-daemon.enable = true;
|
||
|
|
||
|
# battery info
|
||
|
upower.enable = true;
|
||
|
};
|
||
|
};
|
||
|
}
|