diff options
Diffstat (limited to 'matrix.nix')
-rw-r--r-- | matrix.nix | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/matrix.nix b/matrix.nix index 24dc1e9..38b96ed 100644 --- a/matrix.nix +++ b/matrix.nix @@ -91,7 +91,13 @@ in { "than.${domain}" = { enableACME = true; forceSSL = true; - locations."/".proxyPass = "http://localhost:8080"; + root = pkgs.element-web.override { + conf = { + default_server_config = client; + default_theme = "dark"; + room_directory.servers = [ "loang.net" ]; + }; + }; }; }; @@ -107,16 +113,4 @@ in { package = pkgs.postgresql_14; }; }; - - users.users.root.packages = let - element-ipfs = pkgs.callPackage ./element-ipfs.nix { - conf = { - default_server_config = client; - default_theme = "dark"; - room_directory = { - servers = [ "loang.net" ]; - }; - }; - }; - in [ element-ipfs ]; } |