diff options
-rw-r--r-- | hosts/vidhar/default.nix | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/hosts/vidhar/default.nix b/hosts/vidhar/default.nix index 727985bd..b9a4ba29 100644 --- a/hosts/vidhar/default.nix +++ b/hosts/vidhar/default.nix | |||
@@ -223,5 +223,15 @@ | |||
223 | ]; | 223 | ]; |
224 | }; | 224 | }; |
225 | }; | 225 | }; |
226 | |||
227 | services.apcupsd = { | ||
228 | enable = true; | ||
229 | configText = '' | ||
230 | UPSTYPE usb | ||
231 | NISIP 127.0.0.1 | ||
232 | BATTERYLEVEL 10 | ||
233 | MINUTES 5 | ||
234 | ''; | ||
235 | }; | ||
226 | }; | 236 | }; |
227 | } | 237 | } |