services.apcupsd.configText
NixOS option
Contents of the runtime configuration file, apcupsd.conf. The default settings makes apcupsd autodetect USB UPSes, limit network access to localhost and shutdown the system when the battery level is below 50 percent, or when the UPS has calculated that it has 5 minutes or less of remaining power-on time. See man apcupsd.conf for details.
type: strings concatenated with "\n"Default
declared in: nixos/modules/services/monitoring/apcupsd.nixView source on NixOS/nixpkgs →'' UPSTYPE usb NISIP 127.0.0.1 BATTERYLEVEL 50 MINUTES 5 ''