summary refs log tree commit diff
path: root/machines/taureau/default.nix
blob: ae6474040ce7e613f9032c1c03ec3f5878d52b87 (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
51
{ me, machines, ... }:

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

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

  foundation = {
    www = {
      enable = true;

      public = true;
      tailnet = false;
    };

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

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

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

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

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

  system.stateVersion = "25.05";
}