element-web: Remove

This commit is contained in:
Erwin Boskma 2024-08-19 22:30:59 +02:00
parent 46c3afb3a5
commit 9212cd4c37
Signed by: erwin
SSH key fingerprint: SHA256:/Wk1WZdLg+vQHs3in9qq7PsIp8SMzwGSk/RLZ5zPuZk
3 changed files with 0 additions and 77 deletions

View file

@ -44,7 +44,6 @@
enable = true; enable = true;
wayland = true; wayland = true;
}; };
element-web.enable = false;
fonts.enable = true; fonts.enable = true;
gnome.enable = true; gnome.enable = true;
greetd = { greetd = {

View file

@ -1,29 +0,0 @@
{
lib,
pkgs,
config,
...
}:
with lib;
let
cfg = config.eboskma.element-web;
matrixClientConfig = pkgs.writeText "element-web.json" (builtins.readFile ./element-web.json);
in
{
options.eboskma.element-web = {
enable = mkEnableOption "activate element-web";
};
config = mkIf cfg.enable {
eboskma.podman.enable = true;
virtualisation.oci-containers.containers = {
element-web = {
autoStart = true;
image = "vectorim/element-web";
ports = [ "8888:80" ];
volumes = [ "${matrixClientConfig}:/app/config.json" ];
};
};
};
}

View file

@ -1,47 +0,0 @@
{
"default_server_config": {
"m.homeserver": {
"base_url": "https://matrix-client.matrix.org",
"server_name": "matrix.org"
},
"m.identity_server": {
"base_url": "https://vector.im"
}
},
"disable_custom_urls": false,
"disable_guests": true,
"disable_login_language_selector": false,
"disable_3pid_login": false,
"brand": "Element",
"integrations_ui_url": "https://scalar.vector.im/",
"integrations_rest_url": "https://scalar.vector.im/api",
"integrations_widgets_urls": [
"https://scalar.vector.im/_matrix/integrations/v1",
"https://scalar.vector.im/api",
"https://scalar-staging.vector.im/_matrix/integrations/v1",
"https://scalar-staging.vector.im/api",
"https://scalar-staging.riot.im/scalar/api"
],
"bug_report_endpoint_url": "https://element.io/bugreports/submit",
"defaultCountryCode": "NL",
"showLabsSettings": true,
"features": { },
"default_federate": true,
"default_theme": "light",
"roomDirectory": {
"servers": [
"matrix.org"
]
},
"piwik": false,
"enable_presence_by_hs_url": {
"https://matrix.org": false,
"https://matrix-client.matrix.org": false
},
"settingDefaults": {
"breadcrumbs": true
},
"jitsi": {
"preferredDomain": "jitsi.riot.im"
}
}