Unverified Commit 97ca8ccb authored by h7x4's avatar h7x4 Committed by GitHub
Browse files

nixos/roundcube: add example for `database.passwordFile` (#348166)

parents 172f0cee 7467f7d5
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -55,7 +55,12 @@ in
        default = "";
      };
      passwordFile = lib.mkOption {
        type = lib.types.str;
        type = lib.types.path;
        example = lib.literalExpression ''
          pkgs.writeText "roundcube-postgres-passwd.txt" '''
            hostname:port:database:username:password
          '''
        '';
        description = ''
          Password file for the postgresql connection.
          Must be formatted according to PostgreSQL .pgpass standard (see https://www.postgresql.org/docs/current/libpq-pgpass.html)