From a7c3d07078d0ca67afadd6fb24ab4b60b38c1109 Mon Sep 17 00:00:00 2001 From: tdback Date: Sun, 26 Jan 2025 11:31:00 -0500 Subject: hosts: overhauled host configurations --- hosts/loki/modules/default.nix | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 hosts/loki/modules/default.nix (limited to 'hosts/loki/modules') 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" + ]; + }; + }; +} -- cgit v1.2.3