Merge #190: services: use 'port' option type
db48ab9b69services: use 'port' option type (Erik Arvstedt) Pull request description: ACKs for top commit: jonasnick: ACKdb48ab9b69Tree-SHA512: 24cf0c307b40652d1275575fdf4216696890b0f7786832e7bbee9e21cf6d23d3fc35480926c475fc98c17eba668f5ee2c8c0875689e725c8ad05f2fb6b9ecd20
This commit is contained in:
@@ -20,12 +20,12 @@ in {
|
||||
|
||||
options = {
|
||||
services.clightning.onionport = mkOption {
|
||||
type = types.ints.u16;
|
||||
type = types.port;
|
||||
default = 9735;
|
||||
description = "Port on which to listen for tor client connections.";
|
||||
};
|
||||
services.electrs.onionport = mkOption {
|
||||
type = types.ints.u16;
|
||||
type = types.port;
|
||||
default = 50002;
|
||||
description = "Port on which to listen for tor client connections.";
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user