summary refs log tree commit diff
path: root/machines/truite/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'machines/truite/default.nix')
-rw-r--r--machines/truite/default.nix51
1 files changed, 51 insertions, 0 deletions
diff --git a/machines/truite/default.nix b/machines/truite/default.nix
new file mode 100644
index 0000000..9670da2
--- /dev/null
+++ b/machines/truite/default.nix
@@ -0,0 +1,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 = "eth0";
+
+      peers = {
+        mel = {
+          key = "vnZoHXapCLLUhZ8A8R5W0iJ8LpWVLve29z41kkoT0BU=";
+          ip = 2;
+        };
+
+        andrei = {
+          key = "qqU4uYImLfUohIwl4KBshPtTINFcs0JVALjbmwpfxRg=";
+          ip = 3;
+        };
+
+        sergo = {
+          key = "qbZGMNIDZFCJC6SHtlyNIlIdGWHELceXClJCcagrj2Y=";
+          ip = 4;
+        };
+      };
+    };
+  };
+
+  system.stateVersion = "25.05";
+}