1
0
Fork 0

nixbld: enable UPS monitoring

This commit is contained in:
Sebastien Bourdeauducq 2019-09-11 17:37:59 +08:00
parent 01c4478099
commit 40e87731e0
1 changed files with 8 additions and 0 deletions

View File

@ -77,6 +77,14 @@ in
# List services that you want to enable:
services.apcupsd.enable = true;
services.apcupsd.configText = ''
UPSTYPE usb
NISIP 127.0.0.1
BATTERYLEVEL 10
MINUTES 5
'';
# Enable the OpenSSH daemon.
services.openssh.enable = true;
services.openssh.forwardX11 = true;