about summary refs log tree commit diff
path: root/hosts/tahoe/services.nix
blob: 7e42a1f228520411ccb04d2ca5821cd6ab03ec2a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ self, config, ... }:
let secrets = config.age.secrets;
in
{
  # this unit is broken and useless. I don't know how to not install
  # it, so let's mask it.
  systemd.services.mdmonitor.enable = false;

  my.services = {
    monitoring = {
      prometheus = {
        enable = true;
        listenAddress = "192.168.6.40";
      };
      grafana = {
        enable = true;
        vhostName = "dash.${config.homelab.domain}";
      };
    };

    sendsms.enable = true;
  };
}