From 8934a57ef7f236503c5f3cd79904c2c058de4f11 Mon Sep 17 00:00:00 2001 From: James Walker Date: Fri, 24 Sep 2021 21:30:15 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=8B=20plato:=20ups=20configs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hosts/plato/configuration.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/hosts/plato/configuration.nix b/hosts/plato/configuration.nix index 3b541b5..3242696 100644 --- a/hosts/plato/configuration.nix +++ b/hosts/plato/configuration.nix @@ -63,6 +63,16 @@ in { fsType = "nfs"; }; + power.ups = { + enable = true; + mode = "standalone"; + ups."cyberpower" = { + description = "Cyberpower EC650LCD"; + driver = "usbhid-ups"; + port = "auto"; + }; + }; + programs.mosh.enable = true; programs.zsh = { enable = true;