aboutsummaryrefslogtreecommitdiff
path: root/hosts/thor/modules/default.nix
blob: 77fca5d43bdb6c5b77a11710044ef289610e4629 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{
  pkgs,
  ...
}:
{
  modules = {
    services.fediverse = {
      enable = true;
      package = pkgs.unstable.gotosocial;
      url = "social.tdback.net";
    };
    services.website = {
      enable = true;
      url = "tdback.net";
      federating = true;
    };
    scripts.motd = {
      enable = true;
      networkInterfaces = [ "eno1" ];
      servicesToCheck = [
        "caddy"
        "gotosocial"
      ];
    };
  };
}