Files
nix-config/modules/nixos/desktop/default.nix
T
2026-11-17 19:37:29 +08:00

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;
}