nixos/autossh: use types.port

This commit is contained in:
h7x4
2025-09-22 16:25:53 +02:00
parent c9d2056db0
commit 5883645672

View File

@@ -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 = ''