?
This commit is contained in:
@@ -331,21 +331,21 @@ in {
|
|||||||
};
|
};
|
||||||
|
|
||||||
# Add UPS monitoring service
|
# Add UPS monitoring service
|
||||||
services.upsmon = {
|
# services.upsmon = {
|
||||||
enable = true;
|
# enable = true;
|
||||||
# Configure UPS device
|
# # Configure UPS device
|
||||||
device = "/dev/usb/hiddev1"; # Change this to your UPS device
|
# device = "/dev/usb/hiddev1"; # Change this to your UPS device
|
||||||
driver = "usbhid-ups"; # Change this if your UPS uses a different driver
|
# driver = "usbhid-ups"; # Change this if your UPS uses a different driver
|
||||||
# Set UPS monitoring options
|
# # Set UPS monitoring options
|
||||||
options = {
|
# options = {
|
||||||
# NOTIFYCMD = "/path/to/notify-script.sh"; # Path to your notification script
|
# # NOTIFYCMD = "/path/to/notify-script.sh"; # Path to your notification script
|
||||||
POLLFREQ = 5;
|
# POLLFREQ = 5;
|
||||||
POLLFREQALERT = 5;
|
# POLLFREQALERT = 5;
|
||||||
HOSTSYNC = "on";
|
# HOSTSYNC = "on";
|
||||||
DEADTIME = 15;
|
# DEADTIME = 15;
|
||||||
FINALDELAY = 5;
|
# FINALDELAY = 5;
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
|
|
||||||
# Configure nixpkgs
|
# Configure nixpkgs
|
||||||
nixpkgs = {
|
nixpkgs = {
|
||||||
|
|||||||
Reference in New Issue
Block a user