mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 17:33:09 +00:00
nixos/gitea: use port
type
This commit is contained in:
parent
4037c974f5
commit
ab5d317d51
@ -82,7 +82,7 @@ in
|
||||
};
|
||||
|
||||
port = mkOption {
|
||||
type = types.int;
|
||||
type = types.port;
|
||||
default = (if !usePostgresql then 3306 else pg.port);
|
||||
description = "Database host port.";
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user