about summary refs log tree commit diff
path: root/nixos/modules/services/monitoring/ups.nix
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2015-06-15 18:11:32 +0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2015-06-15 18:11:32 +0200
commit19ffa212af8763e84e09e1e56fba99e1d7124d84 (patch)
treef205e5a65dbea20a0bc79fa45ef75f6c577dffdf /nixos/modules/services/monitoring/ups.nix
parentc738b309eea83669bbd590f7293db5d725233193 (diff)
types.uniq types.int -> types.int
types.int already implies uniqueness.
Diffstat (limited to 'nixos/modules/services/monitoring/ups.nix')
-rw-r--r--nixos/modules/services/monitoring/ups.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/services/monitoring/ups.nix b/nixos/modules/services/monitoring/ups.nix
index cc9026f768a8e..98817f22f5de4 100644
--- a/nixos/modules/services/monitoring/ups.nix
+++ b/nixos/modules/services/monitoring/ups.nix
@@ -32,7 +32,7 @@ let
 
       shutdownOrder = mkOption {
         default = 0;
-        type = types.uniq types.int;
+        type = types.int;
         description = ''
           When you have multiple UPSes on your system, you usually need to
           turn them off in a certain order.  upsdrvctl shuts down all the
@@ -151,7 +151,7 @@ in
 
       maxStartDelay = mkOption {
         default = 45;
-        type = types.uniq types.int;
+        type = types.int;
         description = ''
           This can be set as a global variable above your first UPS
           definition and it can also be set in a UPS section.  This value