forked from M-Labs/nix-scripts
nixbld: enable UPS monitoring
This commit is contained in:
parent
01c4478099
commit
40e87731e0
@ -77,6 +77,14 @@ in
|
|||||||
|
|
||||||
# List services that you want to enable:
|
# 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.
|
# Enable the OpenSSH daemon.
|
||||||
services.openssh.enable = true;
|
services.openssh.enable = true;
|
||||||
services.openssh.forwardX11 = true;
|
services.openssh.forwardX11 = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user