Unverified Commit ae4aa437 authored by Wolfgang Walther's avatar Wolfgang Walther Committed by GitHub
Browse files

nixos/patroni: fix documentation link for settings and add example (#441713)

parents d33e926c 1b22321e
Loading
Loading
Loading
Loading
+14 −1
Original line number Diff line number Diff line
@@ -148,8 +148,21 @@ in
    settings = lib.mkOption {
      type = format.type;
      default = { };
      example = {
        bootstrap = {
          initdb = [
            "encoding=UTF-8"
            "data-checksums"
          ];
        };
        postgresql = {
          parameters = {
            unix_socket_directories = "/tmp";
          };
        };
      };
      description = ''
        The primary patroni configuration. See the [documentation](https://patroni.readthedocs.io/en/latest/SETTINGS.html)
        The primary patroni configuration. See the [documentation](https://patroni.readthedocs.io/en/latest/yaml_configuration.html)
        for possible values.
        Secrets should be passed in by using the `environmentFiles` option.
      '';