diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2022-01-02 22:38:29 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2022-01-02 22:38:29 +0100 |
commit | b405b7212743a9412626234443c85960473f4ac2 (patch) | |
tree | 1e025590583874f3b5174524619a88361af6fe05 /hosts/vidhar | |
parent | 50bd1e399dfb216525983bab74f71eb011273956 (diff) | |
download | nixos-b405b7212743a9412626234443c85960473f4ac2.tar nixos-b405b7212743a9412626234443c85960473f4ac2.tar.gz nixos-b405b7212743a9412626234443c85960473f4ac2.tar.bz2 nixos-b405b7212743a9412626234443c85960473f4ac2.tar.xz nixos-b405b7212743a9412626234443c85960473f4ac2.zip |
vidhar: apcupsd
Diffstat (limited to 'hosts/vidhar')
-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 | } |