mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 13:40:28 +03:00
types.uniq types.int -> types.int
types.int already implies uniqueness.
This commit is contained in:
parent
c738b309ee
commit
19ffa212af
14 changed files with 21 additions and 21 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue