autopush-rs: add modular-service doc entry

This commit is contained in:
zimward
2026-05-27 23:47:52 +02:00
parent 64c08a7ca0
commit 3e6aa4a80c
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}";
};
};
};