diff --git a/hosts/bicep/services/matrix/synapse.nix b/hosts/bicep/services/matrix/synapse.nix index bcdb850..5dbc0fa 100644 --- a/hosts/bicep/services/matrix/synapse.nix +++ b/hosts/bicep/services/matrix/synapse.nix @@ -134,80 +134,6 @@ in { "129.241.0.0/16" "2001:700:300::/44" ]; - - saml2_config = { - sp_config.metadata.remote = [ - { url = "https://idp.pvv.ntnu.no/simplesaml/saml2/idp/metadata.php"; } - ]; - - description = [ "Matrix Synapse SP" "en" ]; - name = [ "Matrix Synapse SP" "en" ]; - - ui_info = { - display_name = [ - { - lang = "en"; - text = "PVV Matrix login"; - } - ]; - description = [ - { - lang = "en"; - text = "Matrix is a modern free and open federated chat protocol"; - } - ]; - #information_url = [ - # { - # lang = "en"; - # text = ""; - # }; - #]; - #privacy_statement_url = [ - # { - # lang = "en"; - # text = ""; - # }; - #]; - keywords = [ - { - lang = "en"; - text = [ "Matrix" "Element" ]; - } - ]; - #logo = [ - # { - # lang = "en"; - # text = ""; - # width = ""; - # height = ""; - # } - #]; - }; - - organization = { - name = "Programvareverkstedet"; - display_name = [ "Programvareverkstedet" "en" ]; - url = "https://www.pvv.ntnu.no"; - }; - contact_person = [ - { given_name = "Drift"; - sur_name = "King"; - email_adress = [ "drift@pvv.ntnu.no" ]; - contact_type = "technical"; - } - ]; - - user_mapping_provider = { - config = { - mxid_source_attribute = "uid"; # What is this supposed to be? - mxid_mapping = "hexencode"; - }; - }; - - #attribute_requirements = [ - # {attribute = "userGroup"; value = "medlem";} # Do we have this? - #]; - }; }; };