autopush-rs: add modular-service doc entry (#525025)

This commit is contained in:
lassulus
2026-06-23 17:24:38 +00:00
committed by GitHub
3 changed files with 6 additions and 2 deletions
@@ -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}";
};
};
};