power.ups.upsmon.settings
Additional settings to add to upsmon.conf.
- Type
attribute set of (atom (null, bool, int, float or string) or list of non-empty (list of (atom (null, bool, int, float or string))))- Default
{ MINSUPPLIES = 1; MONITOR = NOTIFYCMD = "${cfg.package}/bin/upssched"; POWERDOWNFLAG = "/run/killpower"; SHUTDOWNCMD = "${pkgs.systemd}/bin/shutdown now"; }
- Example
{ MINSUPPLIES = 2; NOTIFYFLAG = [ [ "ONLINE" "SYSLOG+EXEC" ] [ "ONBATT" "SYSLOG+EXEC" ] ]; }
- Declared
- <nixpkgs/nixos/modules/services/monitoring/ups.nix>