From 0ebe8d112120f2e68342f9ab54bcc3cba1428522 Mon Sep 17 00:00:00 2001 From: Nettika Date: Fri, 27 Sep 2024 20:59:36 -0700 Subject: [PATCH] Serve Synapse Admin from quasar --- hosts/quasar/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/hosts/quasar/default.nix b/hosts/quasar/default.nix index d4d81c8..ff40108 100644 --- a/hosts/quasar/default.nix +++ b/hosts/quasar/default.nix @@ -1,4 +1,4 @@ -{ self, config, modulesPath, ... }: +{ self, modulesPath, pkgs, config, secrets, ... }: { imports = [ "${modulesPath}/virtualisation/amazon-image.nix" @@ -28,6 +28,10 @@ reverse_proxy /_matrix/* localhost:8008 reverse_proxy /_synapse/client/* localhost:8008 ''; + "admin.${config.networking.domain}".extraConfig = '' + root * ${pkgs.synapse-admin} + file_server + ''; }; };