autopush-rs: add modular-service doc entry
This commit is contained in:
@@ -19,6 +19,10 @@ let
|
||||
|
||||
modularServicesModule = {
|
||||
options = {
|
||||
"<imports = [ pkgs.autopush-rs.services.autoconnect ]>" =
|
||||
fakeSubmodule pkgs.autopush-rs.services.autoconnect;
|
||||
"<imports = [ pkgs.autopush-rs.services.autoendpoint ]>" =
|
||||
fakeSubmodule pkgs.autopush-rs.services.autoendpoint;
|
||||
"<imports = [ pkgs.ghostunnel.services.default ]>" = fakeSubmodule pkgs.ghostunnel.services.default;
|
||||
"<imports = [ pkgs.ktls-utils.services.default ]>" = fakeSubmodule pkgs.ktls-utils.services.default;
|
||||
"<imports = [ pkgs.php.services.default ]>" = fakeSubmodule pkgs.php.services.default;
|
||||
|
||||
@@ -24,7 +24,7 @@ in
|
||||
description = "Endpoint of the database server.";
|
||||
type = lib.types.str;
|
||||
default = "";
|
||||
example = lib.literalExpression "redis+socket://${config.services.redis.servers.autopush-rs.unixSocket}";
|
||||
example = lib.literalExpression "redis+socket://\${config.services.redis.servers.autopush-rs.port}";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -25,7 +25,7 @@ in
|
||||
description = "Endpoint of the database server.";
|
||||
type = lib.types.str;
|
||||
default = "";
|
||||
example = lib.literalExpression "redis+socket://${config.services.redis.servers.autopush-rs.unixSocket}";
|
||||
example = lib.literalExpression "redis+socket://\${config.services.redis.servers.autopush-rs.port}";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user