aboutsummaryrefslogtreecommitdiff
path: root/hosts/loki/modules/default.nix
diff options
context:
space:
mode:
authortdback <tyler@tdback.net>2025-01-26 11:31:00 -0500
committertdback <tyler@tdback.net>2025-01-26 11:31:00 -0500
commita7c3d07078d0ca67afadd6fb24ab4b60b38c1109 (patch)
treeb214be5bc6bd1ea67c0499ee54ce3ec06565e929 /hosts/loki/modules/default.nix
parent63883c4dea9ca50a4fd8756323ab04bf66e3dd3d (diff)
hosts: overhauled host configurations
Diffstat (limited to 'hosts/loki/modules/default.nix')
-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"
+ ];
+ };
+ };
+}