0
0
Fork 0
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:
Daniel Nagy 2022-11-30 17:15:00 +01:00
parent 9063accddd
commit dbe8182e74
No known key found for this signature in database
GPG key ID: 1B8E8DCB576FB671
21 changed files with 24 additions and 24 deletions

View file

@ -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 {