1
0
Fork 0

disable single user mode

This commit is contained in:
ibizaman 2022-10-01 20:59:40 -07:00
parent ad979af030
commit e551313ccf

View file

@ -14,6 +14,13 @@
, db_username , db_username
, db_database , db_database
, db_password , db_password
# , domain
# , smtp_host
# , smtp_login
# , smtp_password
# , feedback_url ? ""
, allow_remote_user_auth ? false
, enabled_plugins ? [ "auth_internal" "note" ]
}: }:
{ TtrssPostgresDB { TtrssPostgresDB
}: }:
@ -35,7 +42,7 @@ let
db_pass = db_password; db_pass = db_password;
self_url_path = self_url_path; self_url_path = self_url_path;
single_user_mode = "true"; single_user_mode = "false";
simple_update_mode = "false"; simple_update_mode = "false";
php_executable = "${pkgs.php}/bin/php"; php_executable = "${pkgs.php}/bin/php";
@ -46,22 +53,29 @@ let
auth_auto_create = "true"; auth_auto_create = "true";
auth_auto_login = "true"; auth_auto_login = "true";
allow_remote_user_auth = if allow_remote_user_auth then "true" else "false";
enable_registration = "false";
force_article_purge = "0"; force_article_purge = "0";
sphinx_server = "localhost:9312"; sphinx_server = "localhost:9312";
sphinx_index = "ttrss, delta"; sphinx_index = "ttrss, delta";
enable_registration = "false"; session_check_address = "true";
reg_notify_address = "user@your.domain.dom"; session_cookie_lifetime = "0";
reg_max_users = "10"; session_expire_time = "86400";
session_cookie_lifetime = "86400";
smtp_from_name = "Tiny Tiny RSS"; smtp_from_name = "Tiny Tiny RSS";
smtp_from_address = "noreply@tiserbox.com"; # smtp_from_address = "noreply@${domain}";
# inherit smtp_host smtp_login smtp_password;
# inherit feedback_url;
digest_enable = "true";
digest_email_limit = "10";
digest_subject = "[tt-rss] New headlines for last 24 hours"; digest_subject = "[tt-rss] New headlines for last 24 hours";
check_for_updates = "true"; deamon_sends_digest = "true";
plugins = "auth_internal, note";
check_for_new_version = "false";
plugins = builtins.concatStringsSep ", " enabled_plugins;
log_destination = "syslog"; log_destination = "syslog";
}; };