diff options
author | tdback <tyler@tdback.net> | 2025-01-26 11:31:00 -0500 |
---|---|---|
committer | tdback <tyler@tdback.net> | 2025-01-26 11:31:00 -0500 |
commit | a7c3d07078d0ca67afadd6fb24ab4b60b38c1109 (patch) | |
tree | b214be5bc6bd1ea67c0499ee54ce3ec06565e929 /hosts/loki/modules/default.nix | |
parent | 63883c4dea9ca50a4fd8756323ab04bf66e3dd3d (diff) |
hosts: overhauled host configurations
Diffstat (limited to 'hosts/loki/modules/default.nix')
-rw-r--r-- | hosts/loki/modules/default.nix | 23 |
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" + ]; + }; + }; +} |