summary refs log tree commit diff
path: root/machines/taupe/default.nix
blob: ef3fc6a28d8e504776d3de3b560638dcae716215 (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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{ ... }:

{
  imports = [
    ../../modules/common.nix

    ./hardware.nix
    ./devices.nix
  ];

  foundation = {
    www = {
      enable = true;

      public = true;
      tailnet = true;
    };

    monitoring = {
      client.enable = true;
      services = [
        "base"
      ];
    };

    wireguard.server = {
      enable = true;
      externalInterface = "enp1s0";

      peers = {
        mel = {
          key = "vnZoHXapCLLUhZ8A8R5W0iJ8LpWVLve29z41kkoT0BU=";
          ip = 2;
        };

        andrei = {
          key = "qqU4uYImLfUohIwl4KBshPtTINFcs0JVALjbmwpfxRg=";
          ip = 3;
        };

        sergo = {
          key = "qbZGMNIDZFCJC6SHtlyNIlIdGWHELceXClJCcagrj2Y=";
          ip = 4;
        };
      };
    };
  };

  system.stateVersion = "25.05";
}