From 16d91bac8f64bdfc7e89378cd8665e645e2c216d Mon Sep 17 00:00:00 2001 From: Dominik Polakovics Date: Sun, 1 Dec 2024 11:43:01 +0100 Subject: [PATCH] feat: changes to matri --- hosts/fw.cloonar.com/modules/web/default.nix | 6 +++--- hosts/fw.cloonar.com/modules/web/matrix.nix | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/hosts/fw.cloonar.com/modules/web/default.nix b/hosts/fw.cloonar.com/modules/web/default.nix index f9afea1..bf2fce6 100644 --- a/hosts/fw.cloonar.com/modules/web/default.nix +++ b/hosts/fw.cloonar.com/modules/web/default.nix @@ -42,7 +42,7 @@ in { { type = "tap"; id = "vm-${hostname}"; - mac = "02:00:00:00:00:03"; + mac = "02:00:00:00:01:01"; } ]; }; @@ -53,7 +53,7 @@ in { ../../utils/modules/lego/lego.nix # ../../utils/modules/borgbackup.nix - # ./zammad.nix + ./zammad.nix ./proxies.nix ./matrix.nix ]; @@ -61,7 +61,7 @@ in { time.timeZone = "Europe/Vienna"; systemd.network.networks."10-lan" = { - matchConfig.PermanentMACAddress = "02:00:00:00:00:03"; + matchConfig.PermanentMACAddress = "02:00:00:00:01:01"; address = [ "10.42.97.5/24" ]; gateway = [ "10.42.97.1" ]; dns = [ "10.42.97.1" ]; diff --git a/hosts/fw.cloonar.com/modules/web/matrix.nix b/hosts/fw.cloonar.com/modules/web/matrix.nix index 93a1727..4c9cb7f 100644 --- a/hosts/fw.cloonar.com/modules/web/matrix.nix +++ b/hosts/fw.cloonar.com/modules/web/matrix.nix @@ -418,7 +418,7 @@ in { permissions."*" = "relay"; permissions."cloonar.com" = "user"; relay.enabled = true; - restricted_rooms = true; + restricted_rooms = false; encryption = { allow = true; default = true;