{ stdenv , pkgs , lib }: { document_root , name ? "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 ? "" , allow_remote_user_auth ? false , enabled_plugins ? [ "auth_internal" "note" ] }: { TtrssPostgresDB }: let asTtrssConfig = attrs: builtins.concatStringsSep "\n" ( [" $out/.dysnomia-targetdir echo "${user}:${group}" > $out/.dysnomia-filesetowner cat > $out/.dysnomia-fileset <