Most things work on this commit, except the integration between collabora and seafile. I think it might be related to the timezone change I made and a lack of access_token being passed in the URL. I'm going to test that with a reboot. But first, checkpoint!
17 lines
436 B
Nix
17 lines
436 B
Nix
{ pkgs, lib, config, ... }:
|
|
with lib;
|
|
let
|
|
clientConfig."m.homeserver".base_url = baseUrl;
|
|
in {
|
|
options.myModules.element-web.enable = mkEnableOption "custom element-web configuration";
|
|
|
|
config = mkIf config.myModules.element-web.enable {
|
|
environment.systemPackages = with pkgs; [
|
|
element-web
|
|
];
|
|
services.caddy.virtualHosts."chat.gleipnir.technology".extraConfig = ''
|
|
file_server
|
|
root * ${pkgs.element-web}
|
|
'';
|
|
};
|
|
}
|