aboutsummaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
Diffstat (limited to 'hosts')
-rw-r--r--hosts/laurel/configuration.nix18
1 files changed, 17 insertions, 1 deletions
diff --git a/hosts/laurel/configuration.nix b/hosts/laurel/configuration.nix
index 541f185..29864cf 100644
--- a/hosts/laurel/configuration.nix
+++ b/hosts/laurel/configuration.nix
@@ -20,7 +20,7 @@
20 # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. 20 # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
21 # networking.networkmanager.enable = true; # Easiest to use and most distros use this by default. 21 # networking.networkmanager.enable = true; # Easiest to use and most distros use this by default.
22 networking.hostName = "laurel"; 22 networking.hostName = "laurel";
23 networking.firewall.allowedTCPPorts = [ 80 443 ]; 23 networking.firewall.allowedTCPPorts = [ 80 443 6197 ];
24 24
25 time.timeZone = "Europe/London"; 25 time.timeZone = "Europe/London";
26 i18n.defaultLocale = "en_US.UTF-8"; 26 i18n.defaultLocale = "en_US.UTF-8";
@@ -140,6 +140,22 @@
140 }; 140 };
141 }; 141 };
142 142
143 services.matrix-conduit = {
144 enable = true;
145 settings = {
146 global = {
147 allow_encryption = true;
148 allow_federation = true;
149 allow_registration = false;
150 database_backend = "rocksdb";
151 server_name = "oppi.li";
152 address = "0.0.0.0";
153 port = 6197;
154 enable_lightning_bolt = false;
155 };
156 };
157 };
158
143 159
144 nix.settings.experimental-features = [ "nix-command" "flakes" ]; 160 nix.settings.experimental-features = [ "nix-command" "flakes" ];
145 161