From 2b0f52f7fb36944e6da6a13cfe650f1fd0ef9f80 Mon Sep 17 00:00:00 2001 From: mjallen18 Date: Wed, 27 Mar 2024 13:37:49 -0500 Subject: [PATCH] ? --- hosts/nas/configuration.nix | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/hosts/nas/configuration.nix b/hosts/nas/configuration.nix index 5b5a620..580a1ad 100644 --- a/hosts/nas/configuration.nix +++ b/hosts/nas/configuration.nix @@ -331,21 +331,21 @@ in { }; # Add UPS monitoring service - services.upsmon = { - enable = true; - # Configure UPS device - device = "/dev/usb/hiddev1"; # Change this to your UPS device - driver = "usbhid-ups"; # Change this if your UPS uses a different driver - # Set UPS monitoring options - options = { - # NOTIFYCMD = "/path/to/notify-script.sh"; # Path to your notification script - POLLFREQ = 5; - POLLFREQALERT = 5; - HOSTSYNC = "on"; - DEADTIME = 15; - FINALDELAY = 5; - }; - }; + # services.upsmon = { + # enable = true; + # # Configure UPS device + # device = "/dev/usb/hiddev1"; # Change this to your UPS device + # driver = "usbhid-ups"; # Change this if your UPS uses a different driver + # # Set UPS monitoring options + # options = { + # # NOTIFYCMD = "/path/to/notify-script.sh"; # Path to your notification script + # POLLFREQ = 5; + # POLLFREQALERT = 5; + # HOSTSYNC = "on"; + # DEADTIME = 15; + # FINALDELAY = 5; + # }; + # }; # Configure nixpkgs nixpkgs = {