{ stdenv , pkgs , lib }: { documentRoot , name ? "ttrss" , serviceName ? "ttrss" , subdomain ? "ttrss" , user ? "http" , group ? "http" , domain , lock_directory , cache_directory , feed_icons_directory , db_host , db_port , db_username , db_database , db_password # , domain # , smtp_host # , smtp_login # , smtp_password # , feedback_url ? "" , auth_remote_post_logout_url ? null , enabled_plugins ? [ "auth_remote" "note" ] , dependsOn ? {} }: let asTtrssConfig = attrs: builtins.concatStringsSep "\n" ( [" $out/.dysnomia-targetdir echo "${user}:${group}" > $out/.dysnomia-filesetowner cat > $out/.dysnomia-fileset <