mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 13:40:28 +03:00
treewide: use types.port
in nixos modules
This commit is contained in:
parent
c32d981cdd
commit
095269c862
47 changed files with 57 additions and 57 deletions
|
@ -33,7 +33,7 @@ let
|
|||
'';
|
||||
};
|
||||
port = mkOption {
|
||||
type = types.int;
|
||||
type = types.port;
|
||||
example = 587;
|
||||
description = lib.mdDoc ''
|
||||
Port to use for SMTP.
|
||||
|
|
|
@ -17,7 +17,7 @@ in
|
|||
};
|
||||
|
||||
torControlPort = mkOption {
|
||||
type = types.int;
|
||||
type = types.port;
|
||||
default = 9051;
|
||||
description = lib.mdDoc ''
|
||||
Tor control port.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue