22
0
mirror of https://github.com/SuperSandro2000/nixos-modules.git synced 2024-06-11 10:44:10 +02:00

matrix: fix eval, again

This commit is contained in:
Sandro - 2023-07-02 20:29:39 +02:00
parent 36a9a6e2fd
commit 3333333829
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5

View File

@ -143,16 +143,16 @@ 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; };
(lib.mkIf cfg.recommendedDefaults {
package = assert (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;
user_directory.prefer_local_users = true;
};
withJemalloc = true;
}))
})
];
config.services.portunus.seedSettings.groups = lib.optional (cfg.ldap.userGroup != null) {