about summary refs log tree commit diff
path: root/machines/srv1
diff options
context:
space:
mode:
Diffstat (limited to 'machines/srv1')
-rw-r--r--machines/srv1/configuration.nix1
-rw-r--r--machines/srv1/yggdrasil.nix12
2 files changed, 13 insertions, 0 deletions
diff --git a/machines/srv1/configuration.nix b/machines/srv1/configuration.nix
index bbf35ec..319c27a 100644
--- a/machines/srv1/configuration.nix
+++ b/machines/srv1/configuration.nix
@@ -23,6 +23,7 @@ in
       [
       #./hardware-configuration.nix
       ./cgit.nix
+      ./yggdrasil.nix
     ];
 
     boot.loader.grub.enable = true;
diff --git a/machines/srv1/yggdrasil.nix b/machines/srv1/yggdrasil.nix
new file mode 100644
index 0000000..0d0291f
--- /dev/null
+++ b/machines/srv1/yggdrasil.nix
@@ -0,0 +1,12 @@
+{
+  services.yggdrasil = {
+    enable = true;
+    persistentKeys = true;
+    config = {
+      Peers = [
+        "tcp://51.75.44.73:50001"
+        "tcp://176.223.130.120:22632"
+      ];
+    };
+  };
+}