mirror of https://gitlab.crans.org/nounous/nixos
Ajout element-web
parent
aa52524fa3
commit
c3a12c1f81
|
@ -1,4 +1,4 @@
|
|||
{ config, ... }:
|
||||
{ ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
|
@ -6,6 +6,7 @@
|
|||
./networking.nix
|
||||
|
||||
../../../modules
|
||||
../../../modules/services/element.nix
|
||||
];
|
||||
|
||||
networking.hostName = "periodique";
|
||||
|
|
|
@ -0,0 +1,28 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./nginx.nix
|
||||
];
|
||||
|
||||
services.nginx.virtualHosts = {
|
||||
"element.crans.org" = {
|
||||
root = pkgs.element-web.override {
|
||||
conf = {
|
||||
default_server_config = {
|
||||
"m.homeserver" = {
|
||||
base_url = "https://crans.org";
|
||||
server_name = "crans.org";
|
||||
};
|
||||
};
|
||||
default_theme = "light";
|
||||
features = {
|
||||
feature_video_rooms = true;
|
||||
feature_group_calls = true;
|
||||
feature_element_call_video_rooms = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue