From 12b0dde198081a989e51a040a2ddac8a70054e03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charlotte=20=F0=9F=A6=9D=20Delenk?= Date: Tue, 23 May 2023 06:46:12 +0100 Subject: [PATCH] add heisenbridge --- config/nas.nix | 1 + config/services/heisenbridge.nix | 9 +++++++++ 2 files changed, 10 insertions(+) create mode 100644 config/services/heisenbridge.nix diff --git a/config/nas.nix b/config/nas.nix index 6a74b232..663c473f 100644 --- a/config/nas.nix +++ b/config/nas.nix @@ -30,6 +30,7 @@ ./services/woodpecker-agent.nix ./services/docker.nix ./users/remote-build.nix + ./services/heisenbridge.nix ]; hardware.cpu.amd.updateMicrocode = true; diff --git a/config/services/heisenbridge.nix b/config/services/heisenbridge.nix new file mode 100644 index 00000000..b3aeaf8f --- /dev/null +++ b/config/services/heisenbridge.nix @@ -0,0 +1,9 @@ +{...}: { + services.heisenbridge = { + port = 30435; + admin = "@lotte:chir.rs"; + homeserver = "https://matrix.int.chir.rs"; + enable = true; + }; + services.matrix-synapse.settings.app_service_config_files = ["/var/lib/heisenbridge/registration.yaml"]; +}