{ stdenv , pkgs , lib }: { document_root , name ? "ttrss" , user ? "http" , group ? "http" , lock_directory , cache_directory , feed_icons_directory , db_host , db_port , db_username , db_database , db_password }: { TtrssPostgresDB }: let asTtrssConfig = attrs: builtins.concatStringsSep "\n" ( [" $out/.dysnomia-targetdir echo "${user}:${group}" > $out/.dysnomia-filesetowner cat > $out/.dysnomia-fileset <