aboutsummaryrefslogtreecommitdiff
path: root/hosts/loki/modules/default.nix
blob: fbf0d8400ea4989014297c5573971a4e2a6e40dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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"
      ];
    };
  };
}