mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-11-22 15:24:03 +01:00
13 lines
336 B
Nix
13 lines
336 B
Nix
{ mylib, ... }:
|
|
{
|
|
imports = mylib.scanPaths ./. ++ [
|
|
../power.nix
|
|
../watchdog.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;
|
|
}
|