nixos-systems/modules/system/element-web.nix
Eli Ribble a26ed33b42 Switch to caddy, remove onlyoffice, add collabora
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!
2025-07-18 22:45:02 +00:00

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}
'';
};
}