summaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2022-01-02 22:38:29 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2022-01-02 22:38:29 +0100
commitb405b7212743a9412626234443c85960473f4ac2 (patch)
tree1e025590583874f3b5174524619a88361af6fe05 /hosts
parent50bd1e399dfb216525983bab74f71eb011273956 (diff)
downloadnixos-b405b7212743a9412626234443c85960473f4ac2.tar
nixos-b405b7212743a9412626234443c85960473f4ac2.tar.gz
nixos-b405b7212743a9412626234443c85960473f4ac2.tar.bz2
nixos-b405b7212743a9412626234443c85960473f4ac2.tar.xz
nixos-b405b7212743a9412626234443c85960473f4ac2.zip
vidhar: apcupsd
Diffstat (limited to 'hosts')
-rw-r--r--hosts/vidhar/default.nix10
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}