{ stdenv , pkgs , lib }: { documentRoot , name ? "ttrss" , user ? "http" , group ? "http" , lock_directory ? "/run/${name}/lock" , cache_dir ? "/run/${name}/cache" , icons_dir ? "${documentRoot}/feed-icons" }: { TtrssPostgresDB }: let asTtrssConfig = attrs: builtins.concatStringsSep "\n" ( [" $out/.dysnomia-targetdir echo "${user}:${group}" > $out/.dysnomia-filesetowner cat > $out/.dysnomia-fileset <