aboutsummaryrefslogtreecommitdiff
path: root/hosts/loki/modules
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/loki/modules')
-rw-r--r--hosts/loki/modules/default.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/hosts/loki/modules/default.nix b/hosts/loki/modules/default.nix
new file mode 100644
index 0000000..fbf0d84
--- /dev/null
+++ b/hosts/loki/modules/default.nix
@@ -0,0 +1,23 @@
+{
+ inputs,
+ ...
+}:
+{
+ modules = {
+ services.matrix = {
+ enable = true;
+ url = "tdback.net";
+ registrationSecret = "${inputs.self}/secrets/synapseRegistration.age";
+ coturnStaticAuth = "${inputs.self}/secrets/coturnStaticAuth.age";
+ };
+ scripts.motd = {
+ enable = true;
+ networkInterfaces = [ "enp1s0" ];
+ servicesToCheck = [
+ "coturn"
+ "matrix"
+ "postgresql"
+ ];
+ };
+ };
+}