From 3e6aa4a80c2d2ae1605be2b4aefb76ed91bd787f Mon Sep 17 00:00:00 2001 From: zimward Date: Wed, 27 May 2026 23:47:52 +0200 Subject: [PATCH] autopush-rs: add modular-service doc entry --- nixos/modules/misc/documentation/modular-services.nix | 4 ++++ pkgs/by-name/au/autopush-rs/service-autoconnect.nix | 2 +- pkgs/by-name/au/autopush-rs/service-autoendpoint.nix | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/nixos/modules/misc/documentation/modular-services.nix b/nixos/modules/misc/documentation/modular-services.nix index edc60d3bb592..102fa396a758 100644 --- a/nixos/modules/misc/documentation/modular-services.nix +++ b/nixos/modules/misc/documentation/modular-services.nix @@ -19,6 +19,10 @@ let modularServicesModule = { options = { + "" = + fakeSubmodule pkgs.autopush-rs.services.autoconnect; + "" = + fakeSubmodule pkgs.autopush-rs.services.autoendpoint; "" = fakeSubmodule pkgs.ghostunnel.services.default; "" = fakeSubmodule pkgs.ktls-utils.services.default; "" = fakeSubmodule pkgs.php.services.default; diff --git a/pkgs/by-name/au/autopush-rs/service-autoconnect.nix b/pkgs/by-name/au/autopush-rs/service-autoconnect.nix index eca44eee4b87..a7fc8c429f31 100644 --- a/pkgs/by-name/au/autopush-rs/service-autoconnect.nix +++ b/pkgs/by-name/au/autopush-rs/service-autoconnect.nix @@ -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}"; }; }; }; diff --git a/pkgs/by-name/au/autopush-rs/service-autoendpoint.nix b/pkgs/by-name/au/autopush-rs/service-autoendpoint.nix index d4c87dff54a7..beaf6060b901 100644 --- a/pkgs/by-name/au/autopush-rs/service-autoendpoint.nix +++ b/pkgs/by-name/au/autopush-rs/service-autoendpoint.nix @@ -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}"; }; }; };