set up ssh for gitea

This commit is contained in:
2025-08-24 11:13:57 +02:00
parent 0e7c0db1d3
commit 060ecab430

View File

@@ -1269,4 +1269,23 @@ in
newSession = true;
terminal = "kitty";
};
programs.ssh = {
enable = true;
matchBlocks = {
"git.pvv.ntnu.no" = {
hostname = "git.pvv.ntnu.no";
user = "gitea";
addressFamily = "inet";
port = 2222;
proxyJump = "hildring";
};
"hildring" = {
hostname = "hildring.pvv.ntnu.no";
user = "frero";
addressFamily = "inet";
};
};
};
}