nixos/autossh: use types.port
This commit is contained in:
@@ -33,7 +33,7 @@ in
|
|||||||
description = "Name of the user the AutoSSH session should run as";
|
description = "Name of the user the AutoSSH session should run as";
|
||||||
};
|
};
|
||||||
monitoringPort = lib.mkOption {
|
monitoringPort = lib.mkOption {
|
||||||
type = lib.types.int;
|
type = lib.types.port;
|
||||||
default = 0;
|
default = 0;
|
||||||
example = 20000;
|
example = 20000;
|
||||||
description = ''
|
description = ''
|
||||||
|
|||||||
Reference in New Issue
Block a user