mirror of
https://github.com/SuperSandro2000/nixos-modules.git
synced 2024-06-02 14:29:23 +02:00
matrix: use python 3.11, fix eval
source https://gitlab.com/K900/nix/-/blob/master/machines/konata/synapse.nix
This commit is contained in:
parent
232323bb2b
commit
29e3dd5881
|
@ -89,7 +89,7 @@ in
|
|||
|
||||
config.services.matrix-synapse = lib.mkMerge [
|
||||
{
|
||||
settings = cfge.enable rec {
|
||||
settings = lib.mkIf cfge.enable rec {
|
||||
email.client_base_url = web_client_location;
|
||||
web_client_location = "https://${cfge.domain}";
|
||||
};
|
||||
|
@ -144,6 +144,8 @@ in
|
|||
}
|
||||
|
||||
(lib.mkIf cfg.recommendedDefaults (libS.modules.mkRecursiveDefault {
|
||||
package = lib.assertMsg (lib.versionOlder pkgs.matrix-synapse.python.pythonVersion "3.11") "Override no longer necessary, please remove!"
|
||||
pkgs.matrix-synapse.override { python3 = pkgs.python311; };
|
||||
settings = {
|
||||
federation_client_minimum_tls_version = "1.2";
|
||||
suppress_key_server_warning = true;
|
||||
|
|
Loading…
Reference in New Issue
Block a user