mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 13:40:28 +03:00
treewide: switch to port type for nixos modules
This commit is contained in:
parent
9063accddd
commit
dbe8182e74
21 changed files with 24 additions and 24 deletions
|
@ -17,7 +17,7 @@ in {
|
|||
};
|
||||
port = mkOption {
|
||||
description = mdDoc "Port to listen on, falls back to 8080";
|
||||
type = with types; nullOr int;
|
||||
type = with types; nullOr port;
|
||||
default = null;
|
||||
};
|
||||
authfile = mkOption {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue