Finally switch to flakes.
This commit is contained in:
parent
a90e09db74
commit
5e0b713756
116 changed files with 5443 additions and 3 deletions
23
nixos/server/element.nix
Normal file
23
nixos/server/element.nix
Normal file
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
# Configure the Element web server
|
||||
nixpkgs.config.element-web.conf = let
|
||||
secrets = import ../common/secrets.nix;
|
||||
in {
|
||||
default_server_config = {
|
||||
"m.homeserver" = {
|
||||
base_url = "https://matrix.${secrets.jimDomain}";
|
||||
server_name = "matrix.${secrets.jimDomain}";
|
||||
};
|
||||
};
|
||||
branding = {
|
||||
#welcome_background_url = "https://staging.${secrets.jimDomain}/images/backgrounds/bloxelcom-sunset.jpg";
|
||||
#auth_header_logo_url = "https://staging.${secrets.jimDomain}/images/logos/bloxelcom.png";
|
||||
};
|
||||
embedded_pages = {
|
||||
home_url = "https://www.${secrets.jimDomain}/";
|
||||
};
|
||||
disable_custom_urls = true;
|
||||
disable_guests = true;
|
||||
default_theme = "dark";
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue