Commit 0164fb320e40

Vincent Demeester <vincent@sbr.pm>
2025-06-13 10:13:12
systems: final preparation for kobe before installation
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent f857e50
Changed files (3)
secrets/machines.nix
@@ -19,7 +19,7 @@ let
       sakhalin = "192.168.1.70";
       shikoku = "192.168.1.24";
       synodine = "192.168.1.20";
-      wakasu = "192.168.1.77";
+      kobe = "192.168.1.77";
       hass = "192.168.1.181";
       demeter = "192.168.1.182";
       athena = "192.168.1.183";
@@ -48,6 +48,7 @@ let
       athena = "10.100.0.83";
       aix = "10.100.0.89";
       aion = "10.100.0.49";
+      kobe = "10.100.0.77";
     };
     kerkouane = {
       allowedIPs = [ "${wireguard.ips.kerkouane}/32" ];
@@ -113,6 +114,10 @@ let
       allowedIPs = [ "${wireguard.ips.kyushu}/32" ];
       publicKey = "KVRzoPUw8UTQblYtbs/NLYLIVmtQehrc4Hacbpf5Ugs=";
     };
+    kobe = {
+      allowedIPs = [ "${wireguard.ips.kobe}/32" ];
+      publicKey = "B9jLGtXGZEfvBrgyEKrFRrsCsTsarfpFeyXqqq1NOWg=";
+    };
     hass = {
       allowedIPs = [ "${wireguard.ips.hass}/32" ];
       publicKey = "sLi6Qpm6yyI0kuJ5LzCKXzFhhTW3Q50krxSin+b/sWs=";
systems/kobe/hardware.nix
@@ -15,7 +15,7 @@
   ];
 
   networking = {
-    hostId = builtins.substring 0 8 (builtins.hashString "md5" config.networking.hostName);
+    # hostId = builtins.substring 0 8 (builtins.hashString "md5" config.networking.hostName); # This was for ZFS
     # Bridge setup
     bridges.br1.interfaces = [ "enp0s31f6" ];
     useDHCP = false;
globals.nix
@@ -309,6 +309,21 @@ in
         };
       };
     };
+    kobe = {
+      net = {
+        ips = [ "192.168.1.77" ];
+        vpn = {
+          pubkey = "B9jLGtXGZEfvBrgyEKrFRrsCsTsarfpFeyXqqq1NOWg=";
+          ips = [ "10.100.0.77" ];
+        };
+        names = [
+          "kobe.home"
+          "kobe.vpn"
+          "kobe.sbr.pm"
+        ];
+      };
+      # syncthing = {};
+    };
     aion = {
       net = {
         ips = [ "192.168.1.49" ];