mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-11-17 05:31:03 +01:00
10 lines
310 B
Nix
10 lines
310 B
Nix
{ mylib, ... }:
|
|
{
|
|
imports = mylib.scanPaths ./. ++ [ ../power.nix ];
|
|
|
|
# Power-supply reporting for the desktop shell: the laptop's battery, and
|
|
# peripheral batteries on a desktop. UPower only reports state; unlike TuneD it
|
|
# writes no CPU, network, or disk setting.
|
|
services.upower.enable = true;
|
|
}
|