]> Skullheadx's Git Forge - nixos.git/commitdiff
proxy jump for homelab to git server
authorSkullheadx <admonty1@protonmail.com>
Tue, 2 Jun 2026 04:05:04 +0000 (00:05 -0400)
committerSkullheadx <admonty1@protonmail.com>
Tue, 2 Jun 2026 04:05:06 +0000 (00:05 -0400)
hosts/icon/configuration.nix

index b3656777a7688e37d96ed1b11d9b452433cbabdf..fb3b471a4cd06c62bba8a03cbd5e46e8b96d1071 100644 (file)
         publicKeyFile = ./../../pubkeys/github_ssh.pub;
       };
     };
+    extraConfig = ''
+      Host git-vps
+        HostName git.skullheadx.com
+        Port 2222
+        User git
+      Host git.skullheadx.com
+        HostName localhost
+        Port 2223
+        User git
+        ProxyJump git-vps
+      Host homelab
+        HostName 192.168.1.120
+        Port 22
+      Host vps
+        Hostname 170.205.37.7
+        Port 2222
+    '';
   };
 
   users.groups.git = {};