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 a new issue