default ttrss to use auth_remote by default
This commit is contained in:
parent
cdc41a04e9
commit
2213db7ce9
1 changed files with 9 additions and 5 deletions
|
@ -20,8 +20,8 @@
|
||||||
# , smtp_login
|
# , smtp_login
|
||||||
# , smtp_password
|
# , smtp_password
|
||||||
# , feedback_url ? ""
|
# , feedback_url ? ""
|
||||||
, allow_remote_user_auth ? false
|
, auth_remote_post_logout_url ? null
|
||||||
, enabled_plugins ? [ "auth_internal" "note" ]
|
, enabled_plugins ? [ "auth_remote" "note" ]
|
||||||
}:
|
}:
|
||||||
{ TtrssPostgresDB
|
{ TtrssPostgresDB
|
||||||
}:
|
}:
|
||||||
|
@ -53,8 +53,7 @@ let
|
||||||
icons_url = "feed-icons";
|
icons_url = "feed-icons";
|
||||||
|
|
||||||
auth_auto_create = "true";
|
auth_auto_create = "true";
|
||||||
auth_auto_login = "true";
|
auth_auto_login = "false";
|
||||||
allow_remote_user_auth = if allow_remote_user_auth then "true" else "false";
|
|
||||||
enable_registration = "false";
|
enable_registration = "false";
|
||||||
|
|
||||||
force_article_purge = "0";
|
force_article_purge = "0";
|
||||||
|
@ -79,7 +78,12 @@ let
|
||||||
plugins = builtins.concatStringsSep ", " enabled_plugins;
|
plugins = builtins.concatStringsSep ", " enabled_plugins;
|
||||||
|
|
||||||
log_destination = "syslog";
|
log_destination = "syslog";
|
||||||
};
|
} // (
|
||||||
|
if auth_remote_post_logout_url != null then {
|
||||||
|
allow_remote_user_auth = "false";
|
||||||
|
auth_remote_post_logout_url = auth_remote_post_logout_url;
|
||||||
|
} else {}
|
||||||
|
);
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
inherit name;
|
inherit name;
|
||||||
|
|
Loading…
Reference in a new issue