services: use 'port' option type

This commit is contained in:
Erik Arvstedt
2020-06-02 17:31:28 +02:00
parent 0ac1e496b2
commit db48ab9b69
6 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ in {
'';
};
port = mkOption {
type = types.ints.u16;
type = types.port;
default = 9116;
description = ''
"The port on which to listen for connections.";